diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake index e819139f04..c1135c4501 100644 --- a/cmake/BuildParameters.cmake +++ b/cmake/BuildParameters.cmake @@ -151,9 +151,9 @@ if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386") if(NOT DEFINED ARCH_FLAG) if (DISABLE_ADVANCE_SIMD) if (USE_ICC) - set(ARCH_FLAG "-msse2") + set(ARCH_FLAG "-msse2 -msse4.1") else() - set(ARCH_FLAG "-msse -msse2 -mfxsr -march=i686") + set(ARCH_FLAG "-msse -msse2 -msse4.1 -mfxsr -march=i686") endif() else() # AVX requires some fix of the ABI (mangling) (default 2) @@ -174,9 +174,9 @@ elseif(${PCSX2_TARGET_ARCHITECTURES} MATCHES "x86_64") if(NOT DEFINED ARCH_FLAG) if (DISABLE_ADVANCE_SIMD) if (USE_ICC) - set(ARCH_FLAG "-msse2") + set(ARCH_FLAG "-msse2 -msse4.1") else() - set(ARCH_FLAG "-msse -msse2 -mfxsr") + set(ARCH_FLAG "-msse -msse2 -msse4.1 -mfxsr") endif() else() #set(ARCH_FLAG "-march=native -fabi-version=6")