change CFLAGS for 64 bit icc builds
authorJohn Koleszar <jkoleszar@google.com>
Tue, 1 Mar 2011 01:16:14 +0000 (20:16 -0500)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 1 Mar 2011 01:16:14 +0000 (20:16 -0500)
AMD64 only implies SSE2, not SSE3. There aren't any known cases where
icc was generating SSE3 instructions since all the vectorizable code
is already in handwritten asm, so this fix is included mostly for
correctness. Fixes issue #259.

Change-Id: I993335a4740b68b559035305fb52ca725a6beaff

build/make/configure.sh

index ac99cf5..d504008 100755 (executable)
@@ -867,7 +867,7 @@ process_common_toolchain() {
                 setup_gnu_toolchain
                 add_cflags -use-msasm -use-asm
                 add_ldflags -i-static
-                enabled x86_64 && add_cflags -ipo -no-prec-div -static -xSSE3 -axSSE3
+                enabled x86_64 && add_cflags -ipo -no-prec-div -static -xSSE2 -axSSE2
                 enabled x86_64 && AR=xiar
                 case ${tune_cpu} in
                     atom*)