Use SSE3 in 32-bit x86 binaries
This commit is contained in:
1 parent
93ec7bd9e5
commit
3a672a01e7
2 files changed
+2
-1
No files matched your search
@@ -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
@@ -340,7 +340,7 @@ OPTS += -DCOMPVERSION
|
||||
|
||||
ifndef NONX86
|
||||
ifndef GCC29
|
||||
ARCHOPTS?=-march=pentium
|
||||
ARCHOPTS?=-msse3 -mfpmath=sse
|
||||
else
|
||||
ARCHOPTS?=-mpentium
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user