mirror of https://github.com/PCSX2/pcsx2.git
linux: enable float operation on SSE unit
Potentially faster and requires to flush denormal float to 0
This commit is contained in:
parent
5b74374bb2
commit
253e801f51
|
@ -232,7 +232,9 @@ endif()
|
|||
#-------------------------------------------------------------------------------
|
||||
option(USE_LTO "Enable LTO optimization (will likely break the build)")
|
||||
|
||||
set(COMMON_FLAG "-pipe -fvisibility=hidden -pthread -fno-builtin-strcmp -fno-builtin-memcmp")
|
||||
# Note1: Builtin strcmp/memcmp was proved to be slower on Mesa than stdlib version.
|
||||
# Note2: float operation SSE is impacted by the PCSX2 SSE configuration. In particular, flush to zero denormal.
|
||||
set(COMMON_FLAG "-pipe -fvisibility=hidden -pthread -fno-builtin-strcmp -fno-builtin-memcmp -mfpmath=sse")
|
||||
if (DISABLE_SVU)
|
||||
set(COMMON_FLAG "${COMMON_FLAG} -DDISABLE_SVU")
|
||||
endif()
|
||||
|
|
|
@ -11,7 +11,6 @@ set(Output GSdx-1.0.0)
|
|||
|
||||
set(CommonFlags
|
||||
-fno-operator-names # because Xbyak uses and()/xor()/or()/not() function
|
||||
-mfpmath=sse
|
||||
-fno-strict-aliasing
|
||||
-Wno-unknown-pragmas
|
||||
-Wno-parentheses
|
||||
|
|
Loading…
Reference in New Issue