[Libre-soc-bugs] [Bug 838] sync or at least statically check fields.text, power_decoder, trans/svp64, CSVs between each other
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Thu Aug 11 06:31:12 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=838
--- Comment #47 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Yeah this was a huge mix-up. The code now produces Instruction(name='lwbrx',
opcode=FieldsOpcode(value=0x7c00042c, mask=0xfc0007fe)). However, that said,
the _binutils_ mask should have been be 0xfc0007ff, because X_MASK includes Rc
field. Unlike our mask, the binutils mask is just the way to describe which
fields are not expected to be operands. Here's the documentation:
/* The opcode mask. This is used by the disassembler. This is a
mask containing ones indicating those bits which must match the
opcode field, and zeroes indicating those bits which need not
match (and are presumably filled in by operands). */
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list