Use SSE3 in 32-bit x86 binaries

This commit is contained in:
Hannu Hanhi authored and James R committed 2022-08-07 07:38:42 -07:00
1 parent 93ec7bd9e5
commit 3a672a01e7
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -520,6 +520,7 @@ if(${SRB2_CONFIG_USEASM})
endif()
set(SRB2_USEASM ON)
add_definitions(-DUSEASM)
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -msse3 -mfpmath=sse)
else()
set(SRB2_USEASM OFF)
add_definitions(-DNONX86 -DNORUSEASM)
+1 -1
View File
@@ -340,7 +340,7 @@ OPTS += -DCOMPVERSION
ifndef NONX86
ifndef GCC29
ARCHOPTS?=-march=pentium
ARCHOPTS?=-msse3 -mfpmath=sse
else
ARCHOPTS?=-mpentium
endif