From 8b4da698613a8eae8552567dc838216fe4fe2fd0 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Thu, 17 Nov 2016 22:03:11 +0100 Subject: [PATCH] cmake: always define avx on 64 bits build --- cmake/BuildParameters.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake index e5699ef608..8f03540bb6 100644 --- a/cmake/BuildParameters.cmake +++ b/cmake/BuildParameters.cmake @@ -234,7 +234,7 @@ elseif(${PCSX2_TARGET_ARCHITECTURES} MATCHES "x86_64") if (USE_ICC) set(ARCH_FLAG "-msse2") else() - set(ARCH_FLAG "-msse -msse2 -mfxsr") + set(ARCH_FLAG "-msse -msse2 -mfxsr -mssse3 -msse4.1 -mavx") endif() else() #set(ARCH_FLAG "-march=native -fabi-version=6")