mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Use SSE3 in 32-bit x86 binaries
This commit is contained in:
parent
93ec7bd9e5
commit
3a672a01e7
2 changed files with 2 additions and 1 deletions
|
@ -520,6 +520,7 @@ if(${SRB2_CONFIG_USEASM})
|
||||||
endif()
|
endif()
|
||||||
set(SRB2_USEASM ON)
|
set(SRB2_USEASM ON)
|
||||||
add_definitions(-DUSEASM)
|
add_definitions(-DUSEASM)
|
||||||
|
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -msse3 -mfpmath=sse)
|
||||||
else()
|
else()
|
||||||
set(SRB2_USEASM OFF)
|
set(SRB2_USEASM OFF)
|
||||||
add_definitions(-DNONX86 -DNORUSEASM)
|
add_definitions(-DNONX86 -DNORUSEASM)
|
||||||
|
|
|
@ -340,7 +340,7 @@ OPTS += -DCOMPVERSION
|
||||||
|
|
||||||
ifndef NONX86
|
ifndef NONX86
|
||||||
ifndef GCC29
|
ifndef GCC29
|
||||||
ARCHOPTS?=-march=pentium
|
ARCHOPTS?=-msse3 -mfpmath=sse
|
||||||
else
|
else
|
||||||
ARCHOPTS?=-mpentium
|
ARCHOPTS?=-mpentium
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue