summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/i386/xmmintrin.h
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2011-03-14 13:31:34 +0000
committermm <mm@FreeBSD.org>2011-03-14 13:31:34 +0000
commit36f9eb30658213691934710c5f48543b6a43999a (patch)
treebd7fbf5f8d872c767a85798068b6c80221da4b9e /contrib/gcc/config/i386/xmmintrin.h
parent03f06701bb70b486f4c4e0452df67ddcb5f00ff2 (diff)
downloadFreeBSD-src-36f9eb30658213691934710c5f48543b6a43999a.zip
FreeBSD-src-36f9eb30658213691934710c5f48543b6a43999a.tar.gz
Backport SSSE3 instruction set support to base gcc.
Enabled by default for -march=core2 Obtained from: gcc 4.3 (rev. 117958, 121687, 121726, 123639; GPLv2) MFC after: 2 weeks
Diffstat (limited to 'contrib/gcc/config/i386/xmmintrin.h')
-rw-r--r--contrib/gcc/config/i386/xmmintrin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/gcc/config/i386/xmmintrin.h b/contrib/gcc/config/i386/xmmintrin.h
index 87ec195..35417ec 100644
--- a/contrib/gcc/config/i386/xmmintrin.h
+++ b/contrib/gcc/config/i386/xmmintrin.h
@@ -1243,7 +1243,9 @@ do { \
} while (0)
/* For backward source compatibility. */
+#ifdef __SSE2__
#include <emmintrin.h>
+#endif
#endif /* __SSE__ */
#endif /* _XMMINTRIN_H_INCLUDED */
OpenPOWER on IntegriCloud