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

This commit is contained in:
Erik Hofman 2017-01-06 15:10:52 +01:00
parent 14ebe0b618
commit fbc0986fd8

View File

@ -337,8 +337,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()