Following gcc, hide the hack to include the SSE2 intrinsics from

xmmintrin.h in an ifdef.

llvm-svn: 73200
This commit is contained in:
Eli Friedman 2009-06-11 18:50:02 +00:00
parent ea675cf6a3
commit 9d79bdaaad
1 changed files with 3 additions and 0 deletions

View File

@ -898,7 +898,10 @@ do { \
(row3) = _mm_movelh_ps(tmp3, tmp1); \
} while (0)
/* Ugly hack for backwards-compatibility (compatible with gcc) */
#ifdef __SSE2__
#include <emmintrin.h>
#endif
#endif /* __SSE__ */