diff Python/pymath.c @ 53240:28645a961004

The SSE2 detection and enabling could potentially cause problems for binary distributions of Python in situations where the build machine has SSE2 but the target machine does not. Therefore, don't enable SSE2 instructions automatically on x86.
author Mark Dickinson <dickinsm@gmail.com>
date Sat, 18 Apr 2009 20:17:52 +0000
parents 8209b6c32e61
children f197407bdba2 9751ddcc1882
line wrap: on
line diff
--- a/Python/pymath.c	Sat Apr 18 15:42:12 2009 +0000
+++ b/Python/pymath.c	Sat Apr 18 20:17:52 2009 +0000
@@ -13,8 +13,7 @@
 }
 #endif
 
-#ifdef USING_X87_FPU
-#  ifdef HAVE_GCC_ASM_FOR_X87
+#ifdef HAVE_GCC_ASM_FOR_X87
 
 /* inline assembly for getting and setting the 387 FPU control word on
    gcc/x86 */
@@ -29,9 +28,6 @@
     __asm__ __volatile__ ("fldcw %0" : : "m" (cw));
 }
 
-#  else
-#    error "Unable to get and set x87 control word"
-#  endif
 #endif