diff options
-rw-r--r-- | src/gallium/auxiliary/util/u_cpu_detect.c | 2 |
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 3b36993dcc1..87ad780951e 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 |