summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-04-25 18:46:29 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-04-25 18:46:29 -0600
commita94aad297d9804688f888a5112326104a5d00e07 (patch)
treebb2f95bbd09b99ea5e75f9b57140304b31680fb8 /src/gallium/auxiliary/tgsi
parentaad9dd14d8ef44e55f70b639765dae89e9976345 (diff)
use PIPE_ARCH_X86
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rwxr-xr-xsrc/gallium/auxiliary/tgsi/exec/tgsi_sse2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
index 559370e613..9061e00b63 100755
--- a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
+++ b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c
@@ -34,7 +34,7 @@
#include "rtasm/rtasm_x86sse.h"
-#if defined(__i386__) || defined(__386__)
+#ifdef PIPE_ARCH_X86
#define HIGH_PRECISION 1 /* for 1/sqrt() */
@@ -2181,4 +2181,4 @@ tgsi_emit_sse2(
return ok;
}
-#endif /* i386 */
+#endif /* PIPE_ARCH_X86 */