Browse Source

Merge pull request #3897 from martin-frbg/cortexx3-id

Add cpuid support for Cortex A715 and X3 by aliasing to A710/X2
tags/v0.3.22^2
Martin Kroeker GitHub 3 years ago
parent
commit
60dfba0d92
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      cpuid_arm64.c

+ 4
- 0
cpuid_arm64.c View File

@@ -202,10 +202,14 @@ int detect(void)
return CPU_CORTEXA510;
else if (strstr(cpu_part, "0xd47"))
return CPU_CORTEXA710;
else if (strstr(cpu_part, "0xd4d")) //A715
return CPU_CORTEXA710;
else if (strstr(cpu_part, "0xd44"))
return CPU_CORTEXX1;
else if (strstr(cpu_part, "0xd4c"))
return CPU_CORTEXX2;
else if (strstr(cpu_part, "0xd4e")) //X3
return CPU_CORTEXX2;
}
// Qualcomm
else if (strstr(cpu_implementer, "0x51") && strstr(cpu_part, "0xc00"))


Loading…
Cancel
Save