aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-12-26 00:57:11 +0000
committerAnders Carlsson <andersca@mac.com>2008-12-26 00:57:11 +0000
commit4fd3e63cb043cbd140a3e8028374bd2e4312b90e (patch)
tree21280b3691597006395139d136f8d23a9d13cb5b
parent3cd860c3e0b2ee64b3d5515569eeceecfc3901d5 (diff)
OK, all tests pass. Let's start using the SSE2 header
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61440 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Headers/emmintrin.h (renamed from lib/Headers/emmintrin.devel.h)0
-rw-r--r--lib/Headers/xmmintrin.h5
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/Headers/emmintrin.devel.h b/lib/Headers/emmintrin.h
index 1232cab89f..1232cab89f 100644
--- a/lib/Headers/emmintrin.devel.h
+++ b/lib/Headers/emmintrin.h
diff --git a/lib/Headers/xmmintrin.h b/lib/Headers/xmmintrin.h
index 09cd92b3cb..f3edddd187 100644
--- a/lib/Headers/xmmintrin.h
+++ b/lib/Headers/xmmintrin.h
@@ -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 */