rtasm,translate: Re-enable SSE on Mingw64.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 19 Nov 2014 12:04:44 +0000 (12:04 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 20 Nov 2014 14:11:36 +0000 (14:11 +0000)
This reverts f4dd0991719ef3e2606920c5100b372181c60899.

The src/gallium/tests/unit/translate_test.c gives the same results on
MinGW 64-bits as on Linux 64-bits.  And since MinGW is often used for
development/testing due to its convenience, it's better not to have this
sort of differences relative to MSVC.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/rtasm/rtasm_x86sse.c
src/gallium/auxiliary/translate/translate_sse.c

index 24ff820a4e3ed815b2d6644962cd9a442a6f6d04..f96378891871b906d0412badda827bc3875322da 100644 (file)
@@ -25,7 +25,7 @@
 #include "pipe/p_config.h"
 #include "util/u_cpu_detect.h"
 
-#if defined(PIPE_ARCH_X86) || (defined(PIPE_ARCH_X86_64) && !defined(__MINGW32__))
+#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
 
 #include "pipe/p_compiler.h"
 #include "util/u_debug.h"
index c7c53b3fb6c614bcf57c12a8a8bc5588c24993a1..c7b6c36fcfa29bf97770b497891bd4353a967854 100644 (file)
@@ -35,7 +35,7 @@
 #include "translate.h"
 
 
-#if (defined(PIPE_ARCH_X86) || (defined(PIPE_ARCH_X86_64) && !defined(__MINGW32__))) && !defined(PIPE_SUBSYSTEM_EMBEDDED)
+#if (defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)) && !defined(PIPE_SUBSYSTEM_EMBEDDED)
 
 #include "rtasm/rtasm_cpu.h"
 #include "rtasm/rtasm_x86sse.h"