[cfe-commits] r73200 - /cfe/trunk/lib/Headers/xmmintrin.h
Eli Friedman
eli.friedman at gmail.com
Thu Jun 11 11:50:02 PDT 2009
Author: efriedma
Date: Thu Jun 11 13:50:02 2009
New Revision: 73200
URL: http://llvm.org/viewvc/llvm-project?rev=73200&view=rev
Log:
Following gcc, hide the hack to include the SSE2 intrinsics from
xmmintrin.h in an ifdef.
Modified:
cfe/trunk/lib/Headers/xmmintrin.h
Modified: cfe/trunk/lib/Headers/xmmintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/xmmintrin.h?rev=73200&r1=73199&r2=73200&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/xmmintrin.h (original)
+++ cfe/trunk/lib/Headers/xmmintrin.h Thu Jun 11 13:50:02 2009
@@ -898,7 +898,10 @@
(row3) = _mm_movelh_ps(tmp3, tmp1); \
} while (0)
+/* Ugly hack for backwards-compatibility (compatible with gcc) */
+#ifdef __SSE2__
#include <emmintrin.h>
+#endif
#endif /* __SSE__ */
More information about the cfe-commits
mailing list