]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
use x86-64-v2 as default x86 arch for SIMDe
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Thu, 18 Jan 2024 19:22:42 +0000 (21:22 +0200)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Thu, 18 Jan 2024 19:24:38 +0000 (21:24 +0200)
cmake/archdetect.cmake

index 9e07e12690e1df4d010a4a5f09caaaf430138f10..e7df51ed1838337bd89644b4614f7704c3ca3dd8 100644 (file)
@@ -69,7 +69,7 @@ if (USE_CPU_NATIVE)
 else()
     if (SIMDE_BACKEND)
         if (ARCH_IA32 OR ARCH_X86_64)
-            set(GNUCC_ARCH ${X86_ARCH})
+            set(GNUCC_ARCH x86-64-v2)
             set(TUNE_FLAG generic)
         elseif(ARCH_AARCH64)
             set(GNUCC_ARCH armv8-a)