Commit 01983e50 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '7b0c7c91'

* commit '7b0c7c91':
  arm: Detect 32 bit cpu features on ARMv8 when running on a 64 bit kernel
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents e6aba1be 7b0c7c91
......@@ -90,8 +90,10 @@ static int get_cpuinfo(uint32_t *hwcap)
*hwcap |= HWCAP_VFP;
if (strstr(buf, " vfpv3 "))
*hwcap |= HWCAP_VFPv3;
if (strstr(buf, " neon "))
if (strstr(buf, " neon ") || strstr(buf, " asimd "))
*hwcap |= HWCAP_NEON;
if (strstr(buf, " fp ")) // Listed on 64 bit ARMv8 kernels
*hwcap |= HWCAP_VFP | HWCAP_VFPv3;
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment