From dc859895531250adf28d23a3c5f3157328c9edeb Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 20 Nov 2016 23:24:44 +0100 Subject: [PATCH] cmake: only enable SSE2 on x64 build SW will generate AVX code anyway --- cmake/BuildParameters.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake index 05895c5129..0c318dcf31 100644 --- a/cmake/BuildParameters.cmake +++ b/cmake/BuildParameters.cmake @@ -236,7 +236,7 @@ elseif(${PCSX2_TARGET_ARCHITECTURES} MATCHES "x86_64") if (USE_ICC) set(ARCH_FLAG "-msse2") else() - set(ARCH_FLAG "-msse -msse2 -mfxsr -mssse3 -msse4.1 -mavx") + set(ARCH_FLAG "-msse -msse2 -mfxsr") endif() else() #set(ARCH_FLAG "-march=native -fabi-version=6")