diff options
author | José Fonseca <[email protected]> | 2008-07-04 22:27:50 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-07-04 22:28:57 +0900 |
commit | 194cfc7a4ed86653db34be0e331ad7c23b5334eb (patch) | |
tree | 6c20c1cbd9bb7e35dba1b962310f42f24b0bd8be /scons/gallium.py | |
parent | dd3311aa89035aa2e624f54b6914cfbcf57b33d7 (diff) |
scons: Enable gcc SSE2 intrinsics on x86.
Diffstat (limited to 'scons/gallium.py')
-rw-r--r-- | scons/gallium.py | 7 |
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 += [ |