http://llvm.org/bugs/show_bug.cgi?id=10097
Summary: MCDisassembler is unable to decode XOR r32,r/m32
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The MCDisassembler is unable to decode the XOR r32,r/m32 variant. It only knows
the XOR r/m32,r32 variant.
$ echo "0x31 0xc0"|./bin/llvm-mc --disassemble
xorl %eax, %eax
$ echo "0x33 0xc0"|./bin/llvm-mc --disassemble
<stdin>:1:1: warning: invalid instruction encoding
0x33 0xc0
^
both are valid opcode sequences. (cfr. Intel(R) 64 and IA-32 Architectures
Software Developer's Manual, Volume 2 (2A & 2B) - Vol 2B p4-515).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs