Skip to content

Commit 50715e8

Browse files
authored
Merge pull request #1281 from sharkcz/armv8
fix detection of generic ARMv8 CPUs
2 parents a8a342c + 1763e01 commit 50715e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpuid_arm64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ int detect(void)
142142
if(p != NULL)
143143
{
144144

145-
if (strstr(p, "AArch64"))
145+
if ((strstr(p, "AArch64")) || (strstr(p, "8")))
146146
{
147147
return CPU_ARMV8;
148148

0 commit comments

Comments
 (0)