Merge pull request #1281 from sharkcz/armv8
fix detection of generic ARMv8 CPUs
This commit is contained in:
commit
50715e8945
|
@ -142,7 +142,7 @@ int detect(void)
|
||||||
if(p != NULL)
|
if(p != NULL)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (strstr(p, "AArch64"))
|
if ((strstr(p, "AArch64")) || (strstr(p, "8")))
|
||||||
{
|
{
|
||||||
return CPU_ARMV8;
|
return CPU_ARMV8;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue