cmake: Enable SIMD for Elbrus architecture
This commit is contained in:
parent
d7e36f9f5b
commit
ad1978a31f
@ -122,7 +122,7 @@ else ()
|
|||||||
string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_SYSTEM_PROCESSOR)
|
string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_SYSTEM_PROCESSOR)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if(LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86|x64|x86_64|amd64)")
|
if(LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86|x64|x86_64|amd64|e2k)")
|
||||||
set(NEEDS_SIMDE "0")
|
set(NEEDS_SIMDE "0")
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
set(ARCH_SIMD_FLAGS "-mmmx" "-msse" "-msse2")
|
set(ARCH_SIMD_FLAGS "-mmmx" "-msse" "-msse2")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user