diff options
author | Jonathan White <jwhite@tungstengraphics.com> | 2008-09-30 14:07:09 -0600 |
---|---|---|
committer | Jonathan White <jwhite@tungstengraphics.com> | 2008-09-30 14:07:09 -0600 |
commit | 5e585719ebab17959d972e2e69c04203ecd3f2f3 (patch) | |
tree | f5e281f81e62a48bcd19e82a702f5fb89dcd6259 /src/gallium/auxiliary/tgsi | |
parent | 8415d06d90a197e16554dab98d160334fd9f9f93 (diff) |
cell: Moved X86 checks to wrap #include section so that Cell targets will compile again.
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_sse2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/tgsi_sse2.c index 4fdad3a5c7..94b2df2dbb 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_sse2.c +++ b/src/gallium/auxiliary/tgsi/tgsi_sse2.c @@ -25,6 +25,8 @@ * **************************************************************************/ +#ifdef PIPE_ARCH_X86 + #include "pipe/p_debug.h" #include "pipe/p_shader_tokens.h" #include "util/u_math.h" @@ -36,8 +38,6 @@ #include "rtasm/rtasm_x86sse.h" -#ifdef PIPE_ARCH_X86 - /* for 1/sqrt() * * This costs about 100fps (close to 10%) in gears: |