[LLVMbugs] [Bug 15104] New: [MC x86 Disassembler] MOV r/m32, imm32 not recognized

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 29 00:01:49 PST 2013


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

             Bug #: 15104
           Summary: [MC x86 Disassembler] MOV r/m32, imm32 not recognized
           Product: libraries
           Version: 3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Target Description Classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: leonscot1785079 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Similar to  Bug 8873.

$ echo '0xc7 0xc2 0x00 0x00 0x00 0x00 ' | ./llvm-mc -disassemble -triple
i686-pc-linux-gnu emble -triple i686-pc-linux-gnu     
<stdin>:1:1: warning: invalid instruction encoding
0xc7 0xc2 0x00 0x00 0x00 0x00 
^

that would be "mov    $0x0,%edx" 

Opcode "0xC7" should be decoded as "MOV r/m32, imm32" instruction. But the
dissembler seems only recognize this when it follows the "mov m32 imm32"
pattern.

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