summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
Diffstat (limited to 'scons')
-rwxr-xr-xscons/gallium.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index fe800fa0f7..8e2090bc67 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -390,7 +390,7 @@ def generate(env):
ccflags += [
'-mstackrealign', # ensure stack is aligned
'-msse', '-msse2', # enable SIMD intrinsics
- #'-mfpmath=sse',
+ '-mfpmath=sse', # generate SSE floating-point arithmetic
]
if platform in ['windows', 'darwin']:
# Workaround http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216
@@ -469,7 +469,7 @@ def generate(env):
]
if env['machine'] == 'x86':
ccflags += [
- #'/arch:SSE2', # use the SSE2 instructions
+ '/arch:SSE2', # use the SSE2 instructions (default since MSVC 2012)
]
if platform == 'windows':
ccflags += [