mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
enable AVX2,AVX512,AVX512 for fat runtimes on x86
This commit is contained in:
parent
f68a1e526c
commit
6f4409365a
@ -26,6 +26,9 @@ if (NOT FAT_RUNTIME)
|
|||||||
set(ARCH_CXX_FLAGS "-msse4.2")
|
set(ARCH_CXX_FLAGS "-msse4.2")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
set(BUILD_AVX512VBMI ON)
|
||||||
|
set(BUILD_AVX512 ON)
|
||||||
|
set(BUILD_AVX2 ON)
|
||||||
set(ARCH_C_FLAGS "-msse4.2")
|
set(ARCH_C_FLAGS "-msse4.2")
|
||||||
set(ARCH_CXX_FLAGS "-msse4.2")
|
set(ARCH_CXX_FLAGS "-msse4.2")
|
||||||
endif()
|
endif()
|
||||||
@ -129,5 +132,3 @@ else (NOT FAT_RUNTIME)
|
|||||||
message(FATAL_ERROR "A minimum of SSE4.2 compiler support is required")
|
message(FATAL_ERROR "A minimum of SSE4.2 compiler support is required")
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user