There are an insignificant number of ARM Android devices that don't
support NEON. Default to using NEON since that will improve
performance on the majority of devices. Users that need to target
non-NEON devices can still explicitly disable NEON.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
The official documentation still says "Your app must perform runtime detection to confirm that NEON-capable machine code can be run on the target device" (https://developer.android.com/ndk/guides/cpu-arm-neon#runtime_detection). Is that wrong?
Comment Actions
I'll update those docs when this change lands in the NDK (thanks for spotting that). Since there are so few devices affected by this we're instead advising developers to blacklist these CPUs or explicitly set their -mfpu to vfp3-d16 if they want to continue supporting those devices.