Skip to content

Commit

Permalink
example: sysinfo: detect new ARMv8 and v9 ISAs
Browse files Browse the repository at this point in the history
Add support for ARM ISA versions ARMv8.8-A, ARMv8.9-A, and ARMv9.3-A.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
  • Loading branch information
MatiasElo committed Oct 18, 2023
1 parent 4f18065 commit 1647166
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/sysinfo/odp_sysinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 1647166

Please sign in to comment.