Palmed cannot read recent uops' instructions.xml
On recent uops' instructions.xml
, palmed crashes straight ahead with traceback
Traceback (most recent call last):
File "/home/tbastian/src/palmed/venv/bin/palmed-benchmarks", line 11, in <module>
load_entry_point('palmed', 'console_scripts', 'palmed-benchmarks')()
File "/home/tbastian/src/palmed/palmed/comparative_bench/entry.py", line 821, in main
palmed.instructions.load_uops(arch=args.arch, prune_nores=False)
File "/home/tbastian/src/palmed/palmed/instructions.py", line 896, in load_uops
parser.parse(filename)
File "/usr/lib/python3.9/xml/sax/expatreader.py", line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python3.9/xml/sax/xmlreader.py", line 125, in parse
self.feed(buffer)
File "/usr/lib/python3.9/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
File "../Modules/pyexpat.c", line 407, in StartElement
File "/usr/lib/python3.9/xml/sax/expatreader.py", line 333, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/home/tbastian/src/palmed/palmed/instructions.py", line 770, in startElement
if int(width) > int(xtype[offset:]):
ValueError: invalid literal for int() with base 10: 'f16'
It seems that uops started using f16
as a xtype
property, which used to be base 10 integers, which we try to pass to int()
.
We first have to understand what this new label means.