diff options
Diffstat (limited to 'lib/Headers')
-rw-r--r-- | lib/Headers/emmintrin.h | 1 | ||||
-rw-r--r-- | lib/Headers/xmmintrin.h | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/Headers/emmintrin.h b/lib/Headers/emmintrin.h index fec01549ed..b09a62731c 100644 --- a/lib/Headers/emmintrin.h +++ b/lib/Headers/emmintrin.h @@ -33,7 +33,6 @@ typedef double __m128d __attribute__((__vector_size__(16))); typedef long long __m128i __attribute__((__vector_size__(16))); -typedef int __v4si __attribute__((__vector_size__(16))); typedef short __v8hi __attribute__((__vector_size__(16))); typedef char __v16qi __attribute__((__vector_size__(16))); diff --git a/lib/Headers/xmmintrin.h b/lib/Headers/xmmintrin.h index 2f3888bebc..06e616bd19 100644 --- a/lib/Headers/xmmintrin.h +++ b/lib/Headers/xmmintrin.h @@ -30,6 +30,7 @@ #include <mmintrin.h> +typedef int __v4si __attribute__((__vector_size__(16))); typedef float __v4sf __attribute__((__vector_size__(16))); typedef float __m128 __attribute__((__vector_size__(16))); @@ -150,28 +151,24 @@ _mm_max_ps(__m128 a, __m128 b) static inline __m128 __attribute__((__always_inline__, __nodebug__)) _mm_and_ps(__m128 a, __m128 b) { - typedef int __v4si __attribute__((__vector_size__(16))); return (__m128)((__v4si)a & (__v4si)b); } static inline __m128 __attribute__((__always_inline__, __nodebug__)) _mm_andnot_ps(__m128 a, __m128 b) { - typedef int __v4si __attribute__((__vector_size__(16))); return (__m128)(~(__v4si)a & (__v4si)b); } static inline __m128 __attribute__((__always_inline__, __nodebug__)) _mm_or_ps(__m128 a, __m128 b) { - typedef int __v4si __attribute__((__vector_size__(16))); return (__m128)((__v4si)a | (__v4si)b); } static inline __m128 __attribute__((__always_inline__, __nodebug__)) _mm_xor_ps(__m128 a, __m128 b) { - typedef int __v4si __attribute__((__vector_size__(16))); return (__m128)((__v4si)a ^ (__v4si)b); } |