From 58a6bf5be3512bea9b95546bdcbde1cec87b7504 Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Mon, 16 Oct 2023 08:17:29 +0300 Subject: [PATCH] example: sysinfo: detect new ARMv8 and v9 ISAs Add support for ARM ISA versions ARMv8.8-A, ARMv8.9-A, and ARMv9.3-A. Signed-off-by: Matias Elo --- example/sysinfo/odp_sysinfo.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example/sysinfo/odp_sysinfo.c b/example/sysinfo/odp_sysinfo.c index 05635eec295..0bebac4a201 100644 --- a/example/sysinfo/odp_sysinfo.c +++ b/example/sysinfo/odp_sysinfo.c @@ -98,12 +98,18 @@ static const char *arm_isa(odp_cpu_arch_arm_t isa) return "ARMv8.6-A"; case ODP_CPU_ARCH_ARMV8_7: return "ARMv8.7-A"; + case ODP_CPU_ARCH_ARMV8_8: + return "ARMv8.8-A"; + case ODP_CPU_ARCH_ARMV8_9: + return "ARMv8.9-A"; case ODP_CPU_ARCH_ARMV9_0: return "ARMv9.0-A"; case ODP_CPU_ARCH_ARMV9_1: return "ARMv9.1-A"; case ODP_CPU_ARCH_ARMV9_2: return "ARMv9.2-A"; + case ODP_CPU_ARCH_ARMV9_3: + return "ARMv9.3-A"; default: return "Unknown"; }