]> granicus.if.org Git - clang/commitdiff
OK, all tests pass. Let's start using the SSE2 header
authorAnders Carlsson <andersca@mac.com>
Fri, 26 Dec 2008 00:57:11 +0000 (00:57 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 26 Dec 2008 00:57:11 +0000 (00:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61440 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/emmintrin.h [moved from lib/Headers/emmintrin.devel.h with 100% similarity]
lib/Headers/xmmintrin.h

index 09cd92b3cbb0eb49d2806e0d6974da55c0922b4e..f3edddd1874691b43dfb2c94499eec19646aa726 100644 (file)
@@ -25,7 +25,7 @@
 #define __XMMINTRIN_H
  
 #ifndef __SSE__
-#error "MMX instruction set not enabled"
+#error "SSE instruction set not enabled"
 #else
 
 #include <mmintrin.h>
@@ -34,7 +34,6 @@ typedef float __v4sf __attribute__((__vector_size__(16)));
 typedef float __m128 __attribute__((__vector_size__(16)));
 
 #include <mm_malloc.h>
-#include <emmintrin.h>
 
 static inline __m128 __attribute__((__always_inline__)) _mm_add_ss(__m128 a, __m128 b)
 {
@@ -735,6 +734,8 @@ do { \
   (row3) = _mm_movelh_ps(tmp3, tmp1); \
 } while (0)
 
+#include <emmintrin.h>
+
 #endif /* __SSE__ */
 
 #endif /* __XMMINTRIN_H */