]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
SVE2 needs armv9-a, fix build
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Sat, 7 Oct 2023 16:00:42 +0000 (00:00 +0800)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Sat, 7 Oct 2023 16:00:42 +0000 (00:00 +0800)
CMakeLists.txt

index ce019b725f696e5d49f3e6e5ed2a28a7ec8d7a41..a1ca5522ec01736310a9abd5a539125c43b5bc54 100644 (file)
@@ -821,8 +821,6 @@ set (hs_exec_neon_SRCS
     src/nfa/vermicelli_simd.cpp)
 set (hs_exec_sve_SRCS
     src/nfa/vermicelli_simd.cpp)
-set (hs_exec_sve2_SRCS
-    src/nfa/vermicelli_simd.cpp)
 
 set (hs_exec_avx2_SRCS
     src/fdr/teddy_avx2.c
@@ -1465,7 +1463,7 @@ else ()
             add_library(hs_exec_sve2 OBJECT ${hs_exec_SRCS} ${hs_exec_sve2_SRCS})
             list(APPEND RUNTIME_LIBS $<TARGET_OBJECTS:hs_exec_sve2>)
             set_target_properties(hs_exec_sve2 PROPERTIES
-                COMPILE_FLAGS "-march=armv8-a+sve+sve2+sve2-bitperm -DHAVE_SVE -DHAVE_SVE2"
+                COMPILE_FLAGS "-march=armv9-a+sve+sve2+sve2-bitperm -DHAVE_SVE -DHAVE_SVE2"
                 RULE_LAUNCH_COMPILE "${BUILD_WRAPPER} sve2 ${CMAKE_MODULE_PATH}/keep.syms.in"
                 )