mirror of https://github.com/PCSX2/pcsx2.git
parent
eacd789a88
commit
11cdb070c0
|
@ -200,7 +200,11 @@ if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386")
|
|||
|
||||
if(NOT DEFINED ARCH_FLAG)
|
||||
if (DISABLE_ADVANCE_SIMD)
|
||||
set(ARCH_FLAG "-msse -msse2 -mfxsr -march=i686")
|
||||
if (USE_ICC)
|
||||
set(ARCH_FLAG "-msse2")
|
||||
else()
|
||||
set(ARCH_FLAG "-msse -msse2 -mfxsr -march=i686")
|
||||
endif()
|
||||
else()
|
||||
# AVX requires some fix of the ABI (mangling) (default 2)
|
||||
# Note: V6 requires GCC 4.7
|
||||
|
@ -227,7 +231,11 @@ elseif(${PCSX2_TARGET_ARCHITECTURES} MATCHES "x86_64")
|
|||
|
||||
if(NOT DEFINED ARCH_FLAG)
|
||||
if (DISABLE_ADVANCE_SIMD)
|
||||
set(ARCH_FLAG "-msse -msse2 -mfxsr")
|
||||
if (USE_ICC)
|
||||
set(ARCH_FLAG "-msse2")
|
||||
else()
|
||||
set(ARCH_FLAG "-msse -msse2 -mfxsr")
|
||||
endif()
|
||||
else()
|
||||
#set(ARCH_FLAG "-march=native -fabi-version=6")
|
||||
set(ARCH_FLAG "-march=native")
|
||||
|
|
Loading…
Reference in New Issue