aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmake
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2023-09-12 15:08:58 +0200
committerDave Wallace <dwallacelf@gmail.com>2023-09-13 15:02:43 +0000
commit7bf8f5e484a49fd90db1c4c4e38d82810bddada8 (patch)
tree8f7b10dd9fe95eaadfcc591af3ac69be03b66546 /src/cmake
parent3d2f718e6fece410a903474741487fdff9d5cb27 (diff)
vppinfra: add ARM Neoverse-N2 support
Type: improvement Change-Id: Ief77ae7338667ede290aece6933bb5ae2e76ffc6 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/cmake')
-rw-r--r--src/cmake/cpu.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmake/cpu.cmake b/src/cmake/cpu.cmake
index 69f83c98b8d..f683b62b8f4 100644
--- a/src/cmake/cpu.cmake
+++ b/src/cmake/cpu.cmake
@@ -194,6 +194,13 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)")
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)