Selaa lähdekoodia

scons: Enable gcc SSE2 intrinsics on x86.

tags/mesa_20090313
José Fonseca 18 vuotta sitten
vanhempi
commit
194cfc7a4e
1 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. 6
    1
      scons/gallium.py

+ 6
- 1
scons/gallium.py Näytä tiedosto

@@ -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 += [

Loading…
Peruuta
Tallenna