1. Pypy
  2. Untitled project
  3. pypy

Commits

Armin Rigo  committed 5ed6287

On x86-64, "mfpmath=sse" is the default, and "msse2" is always true.

  • Participants
  • Parent commits 0a232c1
  • Branches default

Comments (0)

Files changed (1)

File rpython/jit/backend/x86/support.py

View file
  • Ignore whitespace
 
 if WORD == 4:
     extra = ['-DPYPY_X86_CHECK_SSE2']
+    if sys.platform != 'win32':
+        extra += ['-msse2', '-mfpmath=sse']
 else:
-    extra = []
+    extra = []    # the -m options above are always on by default on x86-64
 
 if sys.platform != 'win32':
-    extra = ['-msse2', '-mfpmath=sse',
-             '-DPYPY_CPU_HAS_STANDARD_PRECISION'] + extra
+    extra = ['-DPYPY_CPU_HAS_STANDARD_PRECISION'] + extra
 
 ensure_sse2_floats = rffi.llexternal_use_eci(ExternalCompilationInfo(
     compile_extra = extra,