From: Anders Carlsson Date: Fri, 26 Dec 2008 00:57:11 +0000 (+0000) Subject: OK, all tests pass. Let's start using the SSE2 header X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4fd3e63cb043cbd140a3e8028374bd2e4312b90e;p=clang 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 --- diff --git a/lib/Headers/emmintrin.devel.h b/lib/Headers/emmintrin.h similarity index 100% rename from lib/Headers/emmintrin.devel.h rename to 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 @@ -34,7 +34,6 @@ typedef float __v4sf __attribute__((__vector_size__(16))); typedef float __m128 __attribute__((__vector_size__(16))); #include -#include 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 + #endif /* __SSE__ */ #endif /* __XMMINTRIN_H */