mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-18 23:59:32 +00:00
cmake: use only sse2 flag for ICC
Default is pentium4
This commit is contained in:
parent
eacd789a88
commit
11cdb070c0
@ -200,7 +200,11 @@ if(${PCSX2_TARGET_ARCHITECTURES} MATCHES "i386")
|
||||
|
||||
if(NOT DEFINED ARCH_FLAG)
|
||||
if (DISABLE_ADVANCE_SIMD)
|
||||
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)
|
||||
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
Block a user