]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
enable AVX2,AVX512,AVX512 for fat runtimes on x86 220/head
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Wed, 10 Jan 2024 16:26:12 +0000 (18:26 +0200)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Wed, 10 Jan 2024 16:26:12 +0000 (18:26 +0200)
cmake/cflags-x86.cmake

index 7b9cbf81ae9264b732d767d2c59b6bc6b3056608..5ae21ee462e0a9b7a6e8dace35922703f4798128 100644 (file)
@@ -26,6 +26,9 @@ if (NOT FAT_RUNTIME)
         set(ARCH_CXX_FLAGS "-msse4.2")
     endif()
 else()
+    set(BUILD_AVX512VBMI ON)
+    set(BUILD_AVX512 ON)
+    set(BUILD_AVX2 ON)
     set(ARCH_C_FLAGS "-msse4.2")
     set(ARCH_CXX_FLAGS "-msse4.2")
 endif()
@@ -129,5 +132,3 @@ else (NOT FAT_RUNTIME)
         message(FATAL_ERROR "A minimum of SSE4.2 compiler support is required")
     endif ()
 endif ()
-
-