[LLVMbugs] [Bug 1549] NEW: x86-64 backend missing some sse builtins

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jul 11 23:27:02 PDT 2007


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

           Summary: x86-64 backend missing some sse builtins
           Product: libraries
           Version: 2.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


It looks like the x86-64-specific builtins are missing from emmintrin.h (and probably others).  For 
example, this doesn't compile:

#include <emmintrin.h>

typedef long long __m128i __attribute__ ((__vector_size__ (16)));

long long foo_0(__m128i* val) {
  return _mm_cvtsi128_si64(*val);
}
long long foo_1(__m128i* val) {
  return __builtin_ia32_vec_ext_v2di(*val, 1);
}

When it is supported, we should verify that we produce decent code in these cases:
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01077.html

-Chris



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