Skip to content
Snippets Groups Projects
Commit d7335469 authored by James R.'s avatar James R.
Browse files

Merge branch 'master-use-sse3' into 'master'

Use SSE3 in 32-bit x86 binaries

See merge request STJr/SRB2!1213
parents 333d3a25 54cc9db7
No related branches found
No related tags found
1 merge request!1213Use SSE3 in 32-bit x86 binaries
......@@ -549,6 +549,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)
......
......@@ -277,7 +277,7 @@ OPTS += -DCOMPVERSION
ifndef NONX86
ifndef GCC29
ARCHOPTS?=-march=pentium
ARCHOPTS?=-msse3 -mfpmath=sse
else
ARCHOPTS?=-mpentium
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment