Skip to content

Commit

Permalink
Add ARM Neoverse V1 string to topology module. Should have been in PR #…
Browse files Browse the repository at this point in the history
  • Loading branch information
TomTheBear committed Oct 31, 2023
1 parent 8c3cb13 commit 697e1cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ static char* arm_cortex_a53 = "ARM Cortex A53";
static char* arm_cortex_a72 = "ARM Cortex A72";
static char* arm_cortex_a73 = "ARM Cortex A73";
static char* arm_neoverse_n1 = "ARM Neoverse N1";
static char* arm_neoverse_v1 = "ARM Neoverse V1";
static char* arm_huawei_tsv110 = "Huawei TSV110 (ARMv8)";
static char* fujitsu_a64fx = "Fujitsu A64FX";
static char* power7_str = "POWER7 architecture";
Expand Down Expand Up @@ -182,6 +183,7 @@ static char* short_arm8 = "arm8";
static char* short_arm8_cav_tx2 = "arm8_tx2";
static char* short_arm8_cav_tx = "arm8_tx";
static char* short_arm8_neo_n1 = "arm8_n1";
static char* short_arm8_neo_v1 = "arm8_v1";
static char* short_a64fx = "arm64fx";

static char* short_power7 = "power7";
Expand Down Expand Up @@ -1201,6 +1203,10 @@ topology_setName(void)
cpuid_info.name = arm_neoverse_n1;
cpuid_info.short_name = short_arm8_neo_n1;
break;
case AWS_GRAVITON3:
cpuid_info.name = arm_neoverse_v1;
cpuid_info.short_name = short_arm8_neo_v1;
break;
default:
return EXIT_FAILURE;
break;
Expand Down

0 comments on commit 697e1cf

Please sign in to comment.