Skip to content

Commit

Permalink
Merge pull request #17165 from fp64/mfpmath-sse
Browse files Browse the repository at this point in the history
Add -mfpmath=sse to CMakeLists.txt
  • Loading branch information
unknownbrackets authored Mar 23, 2023
2 parents 5855c3e + 0fa134a commit d49edad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,10 @@ if(NOT MSVC)
if(X86 OR X86_64)
# enable sse2 code generation
add_definitions(-msse2)
if(NOT X86_64 AND NOT CLANG)
add_definitions(-mfpmath=sse)
# add_definitions(-mstackrealign)
endif()
endif()

if(IOS)
Expand Down

0 comments on commit d49edad

Please sign in to comment.