mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-21 02:51:37 +00:00
- SSE2 instructions were always enabled for certain files.
This commit is contained in:
parent
a695491a1f
commit
be304a4929
1 changed files with 9 additions and 6 deletions
|
@ -1396,15 +1396,18 @@ if( CMAKE_COMPILER_IS_GNUCXX )
|
|||
# GCC misoptimizes this file
|
||||
set_source_files_properties( oplsynth/fmopl.cpp PROPERTIES COMPILE_FLAGS "-fno-tree-dominator-opts -fno-tree-fre" )
|
||||
endif()
|
||||
|
||||
if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
|
||||
# Need to enable intrinsics for these files.
|
||||
if( SSE_MATTERS )
|
||||
set_source_files_properties(
|
||||
gl/system/gl_swframebuffer.cpp
|
||||
polyrenderer/poly_all.cpp
|
||||
swrenderer/r_all.cpp
|
||||
x86.cpp
|
||||
PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
|
||||
set_source_files_properties( x86.cpp PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
|
||||
if( USE_SSE2 )
|
||||
set_source_files_properties(
|
||||
gl/system/gl_swframebuffer.cpp
|
||||
polyrenderer/poly_all.cpp
|
||||
swrenderer/r_all.cpp
|
||||
PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue