Skip to content

Commit b8bb6d0

Browse files
authored
Merge pull request #5761 from martin-frbg/fixup5759
Add part code for NeoverseV3 to the build-time detection as well
2 parents b77cd0a + 2a5d33a commit b8bb6d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cpuid_arm64.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,10 @@ int detect(void)
321321
return CPU_CORTEXX2;
322322
else if (strstr(cpu_part, "0xd4e")) //X3
323323
return CPU_CORTEXX2;
324-
else if (strstr(cpu_part, "0xd4f")) //NVIDIA Grace et al.
324+
else if (strstr(cpu_part, "0xd4f"))
325325
return CPU_NEOVERSEV2;
326-
else if (strstr(cpu_part, "0xd87") || strstr(cpu_part, "0xd85") || strstr(cpu_part, "0xd83")) // X925/A725
326+
else if (strstr(cpu_part, "0xd87") || strstr(cpu_part, "0xd85") // A725,X925
327+
|| strstr(cpu_part, "0xd84") || strstr(cpu_part, "0xd83")) // V3,V3AE
327328
return CPU_NEOVERSEV2;
328329
else if (strstr(cpu_part, "0xd0b"))
329330
return CPU_CORTEXA76;

0 commit comments

Comments
 (0)