Bug 1415453 - Use vfpv3-d16 as default on Android/arm. r=froydnj
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Fri, 10 Nov 2017 16:47:21 +0900
changeset 444628 d8626c12e13fe99e5d5b630f0e560dcedea48729
parent 444627 985ed7674b221d955cc33db91464ec039a8c8bea
child 444629 dfdbbc471f12359f95934435a55b8dd9ae58520e
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1415453
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1415453 - Use vfpv3-d16 as default on Android/arm. r=froydnj According to https://developer.android.com/ndk/guides/abis.html, androideabi-v7a must support vfpv3-d16. So we should use it for fpu flag. MozReview-Commit-ID: 3rhmRTekmwD
build/autoconf/arch.m4
--- a/build/autoconf/arch.m4
+++ b/build/autoconf/arch.m4
@@ -26,17 +26,17 @@ MOZ_ARG_WITH_STRING(arch,
     MOZ_ARCH=$withval)
 
 if test -z "$MOZ_ARCH"; then
     dnl Defaults
     case "${CPU_ARCH}-${OS_TARGET}" in
     arm-Android)
         MOZ_THUMB=yes
         MOZ_ARCH=armv7-a
-        MOZ_FPU=vfp
+        MOZ_FPU=vfpv3-d16
         MOZ_FLOAT_ABI=softfp
         MOZ_ALIGN=no
         ;;
     arm-Darwin)
         MOZ_ARCH=toolchain-default
         ;;
     esac
 fi