[Libre-soc-bugs] [Bug 976] support missing specifiers

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Apr 11 21:34:29 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=976

--- Comment #6 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Short (as possible) summary on media tests.

1. The current master branch is broken:
Traceback (most recent call last):
  File "/usr/local/bin/pysvp64asm", line 11, in <module>
    load_entry_point('libresoc-openpower-isa', 'console_scripts',
'pysvp64asm')()
  File "/home/ghostmansd/src/openpower-isa/src/openpower/sv/trans/svp64.py",
line 212, in asm_process
    lst = '; '.join(lst)
  File "/home/ghostmansd/src/openpower-isa/src/openpower/sv/trans/svp64.py",
line 89, in translate_one
    insn = WordInstruction.assemble(record=record, arguments=fields)
  File
"/home/ghostmansd/src/openpower-isa/src/openpower/decoder/power_insn.py", line
1775, in assemble
    operand.assemble(insn=insn, value=value)
  File
"/home/ghostmansd/src/openpower-isa/src/openpower/decoder/power_insn.py", line
1035, in assemble
    value = int(value, 0)
ValueError: invalid literal for int() with base 0: '.TOC.-.Lfunc_gep0 at ha'

2. The pre-insndb branch is broken too:
Traceback (most recent call last):
  File "/usr/local/bin/pysvp64asm", line 11, in <module>
    load_entry_point('libresoc-openpower-isa', 'console_scripts',
'pysvp64asm')()
  File "/home/ghostmansd/src/openpower-isa/src/openpower/sv/trans/svp64.py",
line 1681, in asm_process
    lst = '; '.join(lst)
  File "/home/ghostmansd/src/openpower-isa/src/openpower/sv/trans/svp64.py",
line 1127, in translate_one
    pmmode, pmask = decode_predicate(encmode[2:])
  File "/home/ghostmansd/src/openpower-isa/src/openpower/sv/trans/svp64.py",
line 700, in decode_predicate
    "encoding %s for predicate not recognised" % encoding
AssertionError: encoding pred for predicate not recognised


As for pure-binutils version, I've managed to make binutils build the assembly
(this needed few fixes on binutils side). However, the test fails upon
comparison:
/tmp/out0 data/audio/mp3/mp3_1_data/out0 differ: char 1, line 1
make[1]: Leaving directory '/home/ghostmansd/src/openpower-isa/media'


The assembly should be compared, though this will require some changes in the
assembly. The progress is at media-binutils branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list