mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-18 08:49:39 -04:00
lib/arm: fix PMULL detection on AArch64
This commit is contained in:
parent
fc2ea22b44
commit
6eef15d6f3
@ -110,7 +110,7 @@ void setup_cpu_features(void)
|
||||
if (hwcap & (1 << 1)) /* HWCAP_ASIMD */
|
||||
features |= ARM_CPU_FEATURE_NEON;
|
||||
if (hwcap & (1 << 4)) /* HWCAP_PMULL */
|
||||
features |= ARM_CPU_FEATURE_NEON;
|
||||
features |= ARM_CPU_FEATURE_PMULL;
|
||||
#endif
|
||||
|
||||
_cpu_features = features | ARM_CPU_FEATURES_KNOWN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user