[llvm-bugs] [Bug 30716] New: Invalid suffix 'l' on instructions accessing 16-bit registers

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 17 12:03:34 PDT 2016


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

            Bug ID: 30716
           Summary: Invalid suffix 'l' on instructions accessing 16-bit
                    registers
           Product: libraries
           Version: 3.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: nholcomb at wisc.edu
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The below are two examples of decodings produced by LLVM where the instruction
is suffixed with 'l', but accesses a 16-bit register.

Bytes: 66 d1 d2
Output: rcll %dx

Bytes: 66 b8 09 35
Output: movl $13577, %sp

I suspect this is a result of ignoring the 0x66 prefix when choosing opcode
suffix.

-- 
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/20161017/07cfb8ad/attachment.html>


More information about the llvm-bugs mailing list