[LLVMbugs] [Bug 9149] New: [MC] Disassembler fails to decode instructions with alternate encodings

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 5 12:25:35 PST 2011


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: unassignedbugs at nondot.org
        ReportedBy: nemerle5 at gmail.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list