summaryrefslogtreecommitdiffstats
path: root/scons/gallium.py
diff options
context:
space:
mode:
Diffstat (limited to 'scons/gallium.py')
-rw-r--r--scons/gallium.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index bfdd2de8db3..62030f0ab7b 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -272,7 +272,12 @@ def generate(env):
if env['profile']:
cflags += ['-pg']
if env['machine'] == 'x86':
- cflags += ['-m32']
+ cflags += [
+ '-m32',
+ #'-march=pentium4',
+ '-mmmx', '-msse', '-msse2', # enable SIMD intrinsics
+ #'-mfpmath=sse',
+ ]
if env['machine'] == 'x86_64':
cflags += ['-m64']
cflags += [