1
0
Fork 0

Do not rely on SSE3, this is just a slight drawback

This commit is contained in:
Erik Hofman 2017-01-06 15:10:34 +01:00
parent 9a71f6348f
commit 2408a3a28a

View file

@ -358,8 +358,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
if(ENABLE_SIMD)
if (X86 OR X86_64)
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -O3 -msse3 -mfpmath=sse")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -msse3 -mfpmath=sse")
set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -O3 -msse2 -mfpmath=sse")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -msse2 -mfpmath=sse")
endif()
endif()
endif(CMAKE_COMPILER_IS_GNUCXX)