projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2e64e
)
util: (trivial) fix more compile errors in u_cpu_detect (gcc/x86 this time).
author
Dieter Nützel
<dieter@nuetzel-hh.de>
Thu, 8 Aug 2013 23:23:09 +0000
(
01:23
+0200)
committer
Roland Scheidegger
<sroland@vmware.com>
Thu, 8 Aug 2013 23:25:54 +0000
(
01:25
+0200)
Oops. Should fix https://bugs.freedesktop.org/show_bug.cgi?id=67921
src/gallium/auxiliary/util/u_cpu_detect.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_cpu_detect.c
b/src/gallium/auxiliary/util/u_cpu_detect.c
index
8567012
..
3b36993
100644
(file)
--- 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