[PATCH] D17540: [MIPS][LLVM-MC] Fix Disassemble of Negative Offset
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 11 06:30:49 PST 2016
dsanders added a comment.
Can you check whether the assemble/disassemble/assemble or disassemble/assemble/disassemble round-trip works for the affected instructions?
Assuming it does: LGTM with the FIXME's removed.
================
Comment at: test/MC/Disassembler/Mips/mips32r6/valid-mips32r6.txt:36
@@ -35,2 +35,3 @@
0x04 0x11 0x14 0x9b # CHECK: bal 21104
# FIXME: The encode/decode functions are not inverses of each other.
+0x18 0x02 0x01 0x4d # CHECK: blezalc $2, 1336
----------------
Are these FIXME's still true? If you assemble the mnemonics from the disassembler do you get the same opcodes?
I suspect this change may have fixed the ones next to the tests you've updated.
Repository:
rL LLVM
http://reviews.llvm.org/D17540
More information about the llvm-commits
mailing list