aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_cpu_detect.c
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-02-11 11:36:17 +0000
committerJose Fonseca <[email protected]>2016-02-11 21:36:00 +0000
commit0d4898ae8068d3984242775a6fcc87f280c0ac5a (patch)
tree437d80d6f310eb47eb216d8d15b97c864a3cd993 /src/gallium/auxiliary/util/u_cpu_detect.c
parenta97a955b92f39d10c092490b3bf5a9fcbc8e2d57 (diff)
include,gallium: Remove pre-MSVC 2013 compatibility.
Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_cpu_detect.c')
-rw-r--r--src/gallium/auxiliary/util/u_cpu_detect.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_cpu_detect.c b/src/gallium/auxiliary/util/u_cpu_detect.c
index a84de4fef7b..10b090216d7 100644
--- a/src/gallium/auxiliary/util/u_cpu_detect.c
+++ b/src/gallium/auxiliary/util/u_cpu_detect.c
@@ -283,8 +283,7 @@ PIPE_ALIGN_STACK static inline boolean sse2_has_daz(void)
fxarea.mxcsr_mask = 0;
#if defined(PIPE_CC_GCC)
__asm __volatile ("fxsave %0" : "+m" (fxarea));
-#elif (defined(PIPE_CC_MSVC) && _MSC_VER >= 1700) || defined(PIPE_CC_ICL)
- /* 1700 = Visual Studio 2012 */
+#elif defined(PIPE_CC_MSVC) || defined(PIPE_CC_ICL)
_fxsave(&fxarea);
#else
fxarea.mxcsr_mask = 0;