Skip to content

Commit

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

Signed-off-by: Matias Elo <matias.elo@nokia.com>
  • Loading branch information
MatiasElo committed Oct 16, 2023
1 parent 58a6bf5 commit 3aac1b6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/validation/api/system/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,12 +534,18 @@ static void system_test_info(void)
printf(" ODP_CPU_ARCH_ARMV8_6\n");
else if (info.cpu_isa_sw.arm == ODP_CPU_ARCH_ARMV8_7)
printf(" ODP_CPU_ARCH_ARMV8_7\n");
else if (info.cpu_isa_sw.arm == ODP_CPU_ARCH_ARMV8_8)
printf(" ODP_CPU_ARCH_ARMV8_8\n");
else if (info.cpu_isa_sw.arm == ODP_CPU_ARCH_ARMV8_9)
printf(" ODP_CPU_ARCH_ARMV8_9\n");
else if (info.cpu_isa_sw.arm == ODP_CPU_ARCH_ARMV9_0)
printf(" ODP_CPU_ARCH_ARMV9_0\n");
else if (info.cpu_isa_sw.arm == ODP_CPU_ARCH_ARMV9_1)
printf(" ODP_CPU_ARCH_ARMV9_1\n");
else if (info.cpu_isa_sw.arm == ODP_CPU_ARCH_ARMV9_2)
printf(" ODP_CPU_ARCH_ARMV9_2\n");
else if (info.cpu_isa_sw.arm == ODP_CPU_ARCH_ARMV9_3)
printf(" ODP_CPU_ARCH_ARMV9_3\n");
else
CU_FAIL("Unknown CPU ISA SW ARCH found!");

Expand All @@ -566,12 +572,18 @@ static void system_test_info(void)
printf(" ODP_CPU_ARCH_ARMV8_6\n");
else if (info.cpu_isa_hw.arm == ODP_CPU_ARCH_ARMV8_7)
printf(" ODP_CPU_ARCH_ARMV8_7\n");
else if (info.cpu_isa_hw.arm == ODP_CPU_ARCH_ARMV8_8)
printf(" ODP_CPU_ARCH_ARMV8_8\n");
else if (info.cpu_isa_hw.arm == ODP_CPU_ARCH_ARMV8_9)
printf(" ODP_CPU_ARCH_ARMV8_9\n");
else if (info.cpu_isa_hw.arm == ODP_CPU_ARCH_ARMV9_0)
printf(" ODP_CPU_ARCH_ARMV9_0\n");
else if (info.cpu_isa_hw.arm == ODP_CPU_ARCH_ARMV9_1)
printf(" ODP_CPU_ARCH_ARMV9_1\n");
else if (info.cpu_isa_hw.arm == ODP_CPU_ARCH_ARMV9_2)
printf(" ODP_CPU_ARCH_ARMV9_2\n");
else if (info.cpu_isa_hw.arm == ODP_CPU_ARCH_ARMV9_3)
printf(" ODP_CPU_ARCH_ARMV9_3\n");
else if (info.cpu_isa_hw.arm == ODP_CPU_ARCH_ARM_UNKNOWN)
printf(" ODP_CPU_ARCH_ARM_UNKNOWN\n");
else
Expand Down

0 comments on commit 3aac1b6

Please sign in to comment.