http://llvm.org/bugs/show_bug.cgi?id=9149

           Summary: [MC] Disassembler fails to decode instructions with
                    alternate encodings
           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]


Assembling "movl %esi,%eax" with llvm-mc produces [0x89,0xc6]
But the same instruction can as well be encoded as [0x8b 0xf0]


Simple example:

echo "0x8b 0xf0" | ./llvm-mc -disassemble -triple=i386-unknown-unknown

-- 
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

Reply via email to