From: José Fonseca Date: Fri, 4 Jul 2008 13:27:50 +0000 (+0900) Subject: scons: Enable gcc SSE2 intrinsics on x86. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=194cfc7a4ed86653db34be0e331ad7c23b5334eb;p=mesa.git scons: Enable gcc SSE2 intrinsics on x86. --- 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 += [