[llvm-bugs] [Bug 38537] New: operand size prefix ignored when disassembling e8

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 13 01:10:04 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38537

            Bug ID: 38537
           Summary: operand size prefix ignored when disassembling e8
           Product: tools
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvmc
          Assignee: unassignedbugs at nondot.org
          Reporter: acab at digitalfuture.it
                CC: llvm-bugs at lists.llvm.org

llvm-mc disassembles the sequence "0x66 0xe8 0x33 0x22 0x11 0x00" as "callq
xxxxxxxx" as if the op size prefix wasn't there.

The proper decoding would be:
66 e8 33 22 - callw  xxxx
11 00 - adc    %eax,(%rax)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180813/46aae333/attachment.html>


More information about the llvm-bugs mailing list