mirror of https://github.com/PCSX2/pcsx2.git
cmake: add extra SSE4 and AVX2 build of GSdx when DISABLE_ADVANCE_SIMD is enabled
It will provide a speed boost on distribution that only enable SSE2
This commit is contained in:
parent
8431299b92
commit
e4516ac9b8
|
@ -218,7 +218,13 @@ endif()
|
||||||
if(BUILTIN_GS)
|
if(BUILTIN_GS)
|
||||||
add_pcsx2_lib(${Output} "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}")
|
add_pcsx2_lib(${Output} "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}")
|
||||||
else()
|
else()
|
||||||
add_pcsx2_plugin(${Output} "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}")
|
if (DISABLE_ADVANCE_SIMD)
|
||||||
|
add_pcsx2_plugin("${Output}-SSE2" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}")
|
||||||
|
add_pcsx2_plugin("${Output}-SSE4" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags} -mssse3 -msse4 -msse4.1")
|
||||||
|
add_pcsx2_plugin("${Output}-AVX2" "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags} -mavx -mavx2")
|
||||||
|
else()
|
||||||
|
add_pcsx2_plugin(${Output} "${GSdxFinalSources}" "${GSdxFinalLibs}" "${GSdxFinalFlags}")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
################################### Replay Loader
|
################################### Replay Loader
|
||||||
|
|
Loading…
Reference in New Issue