cell: Moved X86 checks to wrap #include section so that Cell targets will compile...
authorJonathan White <jwhite@tungstengraphics.com>
Tue, 30 Sep 2008 20:07:09 +0000 (14:07 -0600)
committerJonathan White <jwhite@tungstengraphics.com>
Tue, 30 Sep 2008 20:07:09 +0000 (14:07 -0600)
src/gallium/auxiliary/tgsi/tgsi_sse2.c

index 4fdad3a5c78b765fdeff81cd338cadea6c89e779..94b2df2dbbfdd8528d0069d0b908a5e12ddb5e79 100644 (file)
@@ -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: