aboutsummaryrefslogtreecommitdiff
path: root/lib/Headers/pmmintrin.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Headers/pmmintrin.h')
-rw-r--r--lib/Headers/pmmintrin.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/Headers/pmmintrin.h b/lib/Headers/pmmintrin.h
index e1b8d9b603d1..0ff940912483 100644
--- a/lib/Headers/pmmintrin.h
+++ b/lib/Headers/pmmintrin.h
@@ -20,18 +20,14 @@
*
*===-----------------------------------------------------------------------===
*/
-
+
#ifndef __PMMINTRIN_H
#define __PMMINTRIN_H
-#ifndef __SSE3__
-#error "SSE3 instruction set not enabled"
-#else
-
#include <emmintrin.h>
/* Define the default attributes for the functions in this file. */
-#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__))
+#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("sse3")))
static __inline__ __m128i __DEFAULT_FN_ATTRS
_mm_lddqu_si128(__m128i const *__p)
@@ -117,6 +113,4 @@ _mm_mwait(unsigned __extensions, unsigned __hints)
#undef __DEFAULT_FN_ATTRS
-#endif /* __SSE3__ */
-
#endif /* __PMMINTRIN_H */