Fix aarch64 builds
This commit is contained in:
parent
1f878636c8
commit
a0a4477c84
|
@ -163,7 +163,12 @@ FPU::FPU ()
|
|||
|
||||
|
||||
#ifdef ARM_NEON_SUPPORT
|
||||
if (getauxval(AT_HWCAP) & HWCAP_NEON) {
|
||||
#ifdef __aarch64__
|
||||
if (getauxval(AT_HWCAP) & HWCAP_SIMD)
|
||||
#else
|
||||
if (getauxval(AT_HWCAP) & HWCAP_NEON)
|
||||
#endif
|
||||
{
|
||||
_flags = Flags(_flags & HasNEON);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user