Do not rely on SSE3, this is just a slight drawback
This commit is contained in:
parent
14ebe0b618
commit
fbc0986fd8
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user