]> granicus.if.org Git - clang/commitdiff
Move some type defines from smmintrin.h to emmintrin.h to match where
authorEric Christopher <echristo@apple.com>
Thu, 26 Aug 2010 02:09:25 +0000 (02:09 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 26 Aug 2010 02:09:25 +0000 (02:09 +0000)
gcc defines them.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112146 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/emmintrin.h
lib/Headers/smmintrin.h

index f2f27cb087aa1c5f69246415012610684f396be5..e5dfe26b49a6adc445efd6f8d489488699943769 100644 (file)
@@ -33,6 +33,9 @@
 typedef double __m128d __attribute__((__vector_size__(16)));
 typedef long long __m128i __attribute__((__vector_size__(16)));
 
+/* Type defines.  */
+typedef double __v2df __attribute__ ((__vector_size__ (16)));
+typedef long long __v2di __attribute__ ((__vector_size__ (16)));
 typedef short __v8hi __attribute__((__vector_size__(16)));
 typedef char __v16qi __attribute__((__vector_size__(16)));
 
index d1967efab0c8d47173320bf2f7cb928fa60bb9f8..2b8b321906208b2b15d37b6064d531b840101725 100644 (file)
 
 #include <tmmintrin.h>
 
-/* Type defines.  */
-typedef double __v2df __attribute__ ((__vector_size__ (16)));
-typedef long long __v2di __attribute__ ((__vector_size__ (16)));
-
 /* SSE4 Rounding macros. */
 #define _MM_FROUND_TO_NEAREST_INT    0x00
 #define _MM_FROUND_TO_NEG_INF        0x01