Simplify flags testing (#7220)
This commit is contained in:
1 parent
dcd17f5473
commit
cb6b8b0132
46 files changed
+218
-218
No files matched your search
@@ -476,7 +476,7 @@ static int CPU_haveNEON(void)
|
||||
AndroidCpuFamily cpu_family = android_getCpuFamily();
|
||||
if (cpu_family == ANDROID_CPU_FAMILY_ARM) {
|
||||
uint64_t cpu_features = android_getCpuFeatures();
|
||||
if ((cpu_features & ANDROID_CPU_ARM_FEATURE_NEON) != 0) {
|
||||
if (cpu_features & ANDROID_CPU_ARM_FEATURE_NEON) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user