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

            Bug ID: 33838
           Summary: Incorrect operand sizes for MMX instructions
           Product: tools
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-as
          Assignee: unassignedb...@nondot.org
          Reporter: pe...@trailofbits.com
                CC: llvm-bugs@lists.llvm.org

The x86 MMX variants of punpcklbw, punpcklwd, punpckldq that operate on memory
operate on dwords, but the LLVM assembler only accepts qword ptr arguments.

For example, LLVM rejects the following:

   punpcklwd mm0, dword ptr [rsp]

and incorrectly accepts the following:

   punpcklwd mm0, qword ptr [rsp]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to