[LLVMbugs] [Bug 1222] NEW: X86 backend doesn't support MMX

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Feb 24 17:46:57 PST 2007


           Summary: X86 backend doesn't support MMX
           Product: libraries
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org

The X86 backend currently has no support for MMX registers.  This can be seen when using MMX 
intrinsic or when using MMX inline asm.  Here's an example that uses inline asm:

void foo() {
  const int Aligned64data_last_mult = 4;
  asm {
    movd mm1, [-1][eax][esi]
    movd mm0, [-1][eax]
    movd mm2, [-1][eax][esi*2]
    movq [edi][Aligned64data_last_mult], mm0
    lea  eax, [esi][ecx*2]
    movd mm4, [esi]
    movd mm5, [esi][ecx]
    movd [-4][edi], mm3

llvm-gcc -fasm-blocks -msse3   should successfully compile this, but doesn't due to lack of support 
for mmx registers.


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list