diff options
author | Jose Fonseca <[email protected]> | 2015-02-26 11:47:46 +0000 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2015-02-26 16:53:16 +0000 |
commit | 46110c5d56eb7a2d3c69b2d8565c7631541511b1 (patch) | |
tree | 66961cf2e40443ef5d82935d5598ab18194f5a37 /src/gallium/auxiliary/util/u_sse.h | |
parent | fd090fdadd6dd955e7663d83885d00678f60e133 (diff) |
include,auxiliary: Remove support for MSVC older then 2008.
MSVC 2008 (shipped with Windows SDK 7.0.7600) is the oldest we
need to support. At least on llvmpipe, gallium/auxiliary, and util
modules. For the remaining modules (particular all OpenGL specific
code) can be built with MSVC 2013.
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_sse.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_sse.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/gallium/auxiliary/util/u_sse.h b/src/gallium/auxiliary/util/u_sse.h index 642f96eb771..d4f51912a2d 100644 --- a/src/gallium/auxiliary/util/u_sse.h +++ b/src/gallium/auxiliary/util/u_sse.h @@ -44,33 +44,6 @@ #include <emmintrin.h> -/* MSVC before VC8 does not support the _mm_castxxx_yyy */ -#if defined(_MSC_VER) && _MSC_VER < 1500 - -union __declspec(align(16)) m128_types { - __m128 m128; - __m128i m128i; - __m128d m128d; -}; - -static __inline __m128 -_mm_castsi128_ps(__m128i a) -{ - union m128_types u; - u.m128i = a; - return u.m128; -} - -static __inline __m128i -_mm_castps_si128(__m128 a) -{ - union m128_types u; - u.m128 = a; - return u.m128i; -} - -#endif /* defined(_MSC_VER) && _MSC_VER < 1500 */ - union m128i { __m128i m; ubyte ub[16]; |