summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/SConscript
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-10-01 15:13:51 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-10-09 12:12:58 +0100
commit2de720dc8ff89676aa7bb5eb74aeb6d44e028fa2 (patch)
treeb9e34a22e324db52e71fcf640b84905d46c9174e /src/gallium/drivers/llvmpipe/SConscript
parent5b7eb868fde98388d80601d8dea39e679828f42f (diff)
llvmpipe: simplified SSE2 swz/unswz routines
We've been using these in the linear path for a while now. Based on Chris's SSSE3 code, but using only sse2 opcodes. Speed seems to be identical, but code is simpler & removes dependency on SSE3. Should be easier to extend to other rgba8 formats.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/SConscript')
-rw-r--r--src/gallium/drivers/llvmpipe/SConscript8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gallium/drivers/llvmpipe/SConscript b/src/gallium/drivers/llvmpipe/SConscript
index 650435f0f1..774ad91a07 100644
--- a/src/gallium/drivers/llvmpipe/SConscript
+++ b/src/gallium/drivers/llvmpipe/SConscript
@@ -27,13 +27,7 @@ env.Depends('lp_tile_soa.c', [
])
-# Only enable SSSE3 for lp_tile_soa_sse3.c
-ssse3_env = env.Clone()
-if env['gcc'] \
- and distutils.version.LooseVersion(env['CCVERSION']) >= distutils.version.LooseVersion('4.3') \
- and env['machine'] in ('x86', 'x86_64') :
- ssse3_env.Append(CCFLAGS = ['-mssse3'])
-lp_tile_soa_os = ssse3_env.SharedObject('lp_tile_soa.c')
+lp_tile_soa_os = env.SharedObject('lp_tile_soa.c')
llvmpipe = env.ConvenienceLibrary(