vppinfra: add ARM Neoverse-N2 support
Type: improvement
Change-Id: Ief77ae7338667ede290aece6933bb5ae2e76ffc6
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/cmake/cpu.cmake b/src/cmake/cpu.cmake
index 69f83c9..f683b62 100644
--- a/src/cmake/cpu.cmake
+++ b/src/cmake/cpu.cmake
@@ -194,6 +194,13 @@
N_PREFETCHES 6
CACHE_PREFETCH_BYTES 64
)
+
+ add_vpp_march_variant(neoversen2
+ FLAGS -march=armv8.6-a+crc+crypto+sve2 -mtune=neoverse-n2
+ N_PREFETCHES 8
+ CACHE_PREFETCH_BYTES 64
+ OFF
+ )
endif()
macro(vpp_library_set_multiarch_sources lib)