Skip to content

Commit

Permalink
Made using mmx and sse only with x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg68 committed Nov 28, 2024
1 parent 7aed26a commit 8bd885c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/AddCpuOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@

include(${CMAKE_SOURCE_DIR}/cmake/AddCXXOption.cmake)

if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "x86")
add_cxx_option(-mmmx)
add_cxx_option(-msse)
add_cxx_option(-msse2)
add_cxx_option(-msse3)
endif()

add_cxx_option(-mstackrealign)

0 comments on commit 8bd885c

Please sign in to comment.