[LLVMdev] Fix wrong x86 inst encoding / problem with disassembler
evan.cheng at apple.com
Mon Apr 5 15:22:24 PDT 2010
Patch committed as 100480. Thanks.
On Apr 5, 2010, at 1:44 PM, Marius Wachtler wrote:
> I think I found a bug in the x86 instruction definition file, while trying out the disassembler.
> It looks like the "ADD32rr_alt" instruction should have GR32 operands, not GR16.
> Attached you can find a patch, which should fix the problem.
> But even with the change I can not decode e.g. "0x03 0xC1" (should be "addl %ecx, %eax") only if I remove the "isCodeGenOnly = 1" line it works.
> Looking for help.
> -- Marius Wachtler
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev