vppinfra: add ARM neoverse-v2 support 59/41259/4
authorJay Wang <[email protected]>
Mon, 20 May 2024 14:30:22 +0000 (14:30 +0000)
committerDamjan Marion <[email protected]>
Thu, 28 Aug 2025 20:18:33 +0000 (20:18 +0000)
commitb6eabe6c080fa3272874b51fe1ef5f762955aafe
tree25b75e24c6a8b02b43b2bc905d8da31c3d03e458
parentd23c6284f9fae3d216046a891eae6d76c515114a
vppinfra: add ARM neoverse-v2 support

It is recommended to use -mcpu instead of -march or -mtune on Grace
because the -mcpu flag specifies both the appropriate architecture and
the tuning strategy[1].

Type: improvement

[1] https://github.com/NVIDIA/grace-cpu-benchmarking-guide/blob/main/src/developer/languages/c-c++.md#recommended-compiler-flags
Signed-off-by: Jay Wang <[email protected]>
Change-Id: I09b52e605f218e633c4b59519038646ac6eec870
src/cmake/cpu.cmake
src/vppinfra/cpu.c
src/vppinfra/cpu.h