diff options
author | José Fonseca <[email protected]> | 2008-10-01 08:28:05 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-10-01 08:28:05 +0900 |
commit | cb8a3ba433190b7af254349b00d356b31e813a1a (patch) | |
tree | a2c3c5cf994720fbcd5b94c612c8ba344e57808d /src/gallium/auxiliary/util | |
parent | cbfce4175bf72788842bb45fa11c7e19caa8e6a8 (diff) |
util: No-op u_sse.h outside PIPE_ARCH_X86/X86_64.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_sse.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_sse.h b/src/gallium/auxiliary/util/u_sse.h index 0c8356cd057..68e56f08165 100644 --- a/src/gallium/auxiliary/util/u_sse.h +++ b/src/gallium/auxiliary/util/u_sse.h @@ -37,6 +37,10 @@ #ifndef U_SSE_H_ #define U_SSE_H_ +#include "pipe/p_config.h" + +#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) + #include <xmmintrin.h> #include <emmintrin.h> @@ -66,7 +70,8 @@ _mm_castps_si128(__m128 a) return u.m128i; } -#endif +#endif /* defined(_MSC_VER) && _MSC_VER < 1500 */ +#endif /* PIPE_ARCH_X86 || PIPE_ARCH_X86_64 */ #endif /* U_SSE_H_ */ |