[LLVMbugs] [Bug 10345] New: Incorrect assembly of "xchg %eax, %eax" on x86-64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 12 15:08:57 PDT 2011


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

           Summary: Incorrect assembly of "xchg %eax, %eax" on x86-64
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


$ echo "xchg %eax, %eax" | llvm-mc -show-encoding
    xchgl    %eax, %eax              ## encoding: [0x90]

The correct encoding is "0x87 0xc0"; the given encoding, "0x90", is a nop.

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