From: Brian Date: Tue, 6 Nov 2007 15:53:25 +0000 (-0700) Subject: check for __i386__ or __386__ instead of USE_X86_ASM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24ac9c30ebfd2edabdd21bfc9cf4e9db21cd10df;p=mesa.git check for __i386__ or __386__ instead of USE_X86_ASM --- diff --git a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c index a5c6e1a33ac..3a5c1da1800 100755 --- a/src/mesa/pipe/tgsi/exec/tgsi_sse2.c +++ b/src/mesa/pipe/tgsi/exec/tgsi_sse2.c @@ -29,7 +29,7 @@ #include "tgsi_core.h" #include "x86/rtasm/x86sse.h" -#ifdef USE_X86_ASM +#if defined(__i386__) || defined(__386__) #define DUMP_SSE 0 @@ -2328,4 +2328,4 @@ tgsi_emit_sse2_fs( return 1; } -#endif /* USE_X86_ASM */ +#endif /* i386 */