diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-09-04 22:53:59 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-09-04 22:53:59 +0000 |
commit | d7ac2b8d87809e9ac4ee79971f0a70efb17e3af5 (patch) | |
tree | acd08e5447849ac88b3eccf5e7c44feb17385956 /docs | |
parent | 7490f3fe7af8d0101621c29e3b46c14a4ea00f73 (diff) | |
parent | a78a3dc9ed516d5057a2043c72c5563465c2dca0 (diff) | |
download | ndk-d7ac2b8d87809e9ac4ee79971f0a70efb17e3af5.tar.gz |
Merge "Fix build system maintainers guide wrt neon."
Diffstat (limited to 'docs')
-rw-r--r-- | docs/BuildSystemMaintainers.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/BuildSystemMaintainers.md b/docs/BuildSystemMaintainers.md index b3bb0cf2a..fe2452fdb 100644 --- a/docs/BuildSystemMaintainers.md +++ b/docs/BuildSystemMaintainers.md @@ -89,15 +89,16 @@ devices and nearly all 32-bit ARM devices running at least Android Marshmallow is possible that extant devices that were upgraded to Marshmallow do not include NEON support. -Enabling NEON can significantly improve application performance. +NEON can significantly improve application performance. -To enable NEON, pass `-mfpu=neon` when compiling. - -Note: Clang automatically enables NEON for API levels 23 (Marshmallow) and -higher. +Clang automatically enables NEON for all API levels. ARM devices without NEON +are uncommon. To support non-NEON devices, pass `-mfpu=vfpv3-d16` when +compiling. Alternatively, use the Play Console to [blacklist CPUs] without NEON +to disallow your app from being installed on those devices. [Android CDD]: https://source.android.com/compatibility/cdd [NEON]: https://developer.arm.com/technologies/neon +[blacklist CPUs]: https://support.google.com/googleplay/android-developer/answer/7353455?hl=en ### OS Versions [OS Versions]: #os-versions |