summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorDieter Nützel <[email protected]>2013-08-09 01:23:09 +0200
committerRoland Scheidegger <[email protected]>2013-08-09 01:25:54 +0200
commit8f40fa0e7f47093d6e93ca4dd12569a6f948dae6 (patch)
treefc1de0b555318f98fc12f3208b40830afaf2e2c3 /src/gallium/auxiliary
parent2c2e64edaba0f6aeb181ca5b51eb8dea8e9b39f9 (diff)
util: (trivial) fix more compile errors in u_cpu_detect (gcc/x86 this time).
Oops. Should fix https://bugs.freedesktop.org/show_bug.cgi?id=67921
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_cpu_detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_cpu_detect.c b/src/gallium/auxiliary/util/u_cpu_detect.c
index 85670129393..3b36993dcc1 100644
--- a/src/gallium/auxiliary/util/u_cpu_detect.c
+++ b/src/gallium/auxiliary/util/u_cpu_detect.c
@@ -244,7 +244,7 @@ static INLINE boolean sse2_has_daz(void)
fxarea.mxcsr_mask = 0;
#if (defined(PIPE_CC_GCC) || defined(PIPE_CC_SUNPRO))
- asm volatile ("fxsave %0" :: "m" (fxarea));
+ __asm __volatile ("fxsave %0" :: "m" (fxarea));
#elif (defined(PIPE_CC_MSVC) || defined(PIPE_CC_ICL))
_fxsave(&fxarea);
#endif