Skip to content

Commit 667fed5

Browse files
authored
Merge pull request #1856 from rengolin/armv8-a57
[Arm64) Revert A53 detection as A57
2 parents 96d2f2c + fb5b217 commit 667fed5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpuid_arm64.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ int detect(void)
115115
fclose(infile);
116116
if(cpu_part != NULL && cpu_implementer != NULL) {
117117
if (strstr(cpu_implementer, "0x41") &&
118-
(strstr(cpu_part, "0xd07") || strstr(cpu_part,"0xd08") || strstr(cpu_part,"0xd03") ))
119-
return CPU_CORTEXA57; //or compatible A53, A72
118+
(strstr(cpu_part, "0xd07") || strstr(cpu_part,"0xd08")))
119+
return CPU_CORTEXA57; //or compatible, ex. A72
120120
else if (strstr(cpu_part, "0x516") && strstr(cpu_implementer, "0x42"))
121121
return CPU_VULCAN;
122122
else if (strstr(cpu_part, "0x0a1") && strstr(cpu_implementer, "0x43"))

0 commit comments

Comments
 (0)