cmake: make sse4 default

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-03-29 07:57:40 +02:00 committed by lightningterror
parent fb1f73fbd4
commit 6bc31a0023
1 changed files with 1 additions and 3 deletions

View File

@ -270,9 +270,7 @@ if(BUILTIN_GS)
else()
if (DISABLE_ADVANCE_SIMD)
# Don't append -SSE2 on the first build to keep same name as SIMD build
add_pcsx2_plugin("${Output}" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}")
add_pcsx2_plugin("${Output}-SSE4" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags} -mssse3 -msse4 -msse4.1")
target_compile_features("${Output}-SSE4" PRIVATE cxx_std_17)
add_pcsx2_plugin("${Output}" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags} -msse3 -msse4 -msse4.1")
add_pcsx2_plugin("${Output}-AVX2" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags} -mavx -mavx2 -mbmi -mbmi2")
target_compile_features("${Output}-AVX2" PRIVATE cxx_std_17)
else()