[Mesa-dev] [PATCH] swr: fix -march flag for AVX
Tim Rowley
timothy.o.rowley at intel.com
Fri Jun 10 19:43:22 UTC 2016
Previously used core-avx-i was for ivybridge;
corei7-avx allows sandybridge.
---
src/gallium/drivers/swr/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
index d211f2e..8156cf2 100644
--- a/src/gallium/drivers/swr/Makefile.am
+++ b/src/gallium/drivers/swr/Makefile.am
@@ -124,7 +124,7 @@ COMMON_LDFLAGS = \
lib_LTLIBRARIES = libswrAVX.la libswrAVX2.la
libswrAVX_la_CXXFLAGS = \
- -march=core-avx-i \
+ -march=corei7-avx \
-DKNOB_ARCH=KNOB_ARCH_AVX \
$(COMMON_CXXFLAGS)
--
1.9.1
More information about the mesa-dev
mailing list