Do not rely on SSE3, this is just a slight drawback
This commit is contained in:
parent
9a71f6348f
commit
2408a3a28a
1 changed files with 2 additions and 2 deletions
|
@ -358,8 +358,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
|
||||||
if(ENABLE_SIMD)
|
if(ENABLE_SIMD)
|
||||||
if (X86 OR X86_64)
|
if (X86 OR X86_64)
|
||||||
set(CMAKE_C_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 -msse3 -mfpmath=sse")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -msse2 -mfpmath=sse")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
|
Loading…
Reference in a new issue