bug 802616 - don't use software floating point math on ARMv6 r=glandium
authorBrad Lassey <blassey@mozilla.com>
Wed, 17 Oct 2012 11:40:55 -0400
changeset 110616 c4119fd2fb379dbedd41bbb39a0ea64cee2b504e
parent 110615 db4fd6efba172f8129ec9f48f0a534366dfcbdac
child 110617 c0b7b869931daba97d388f622738f8dc4c3591ef
push id23704
push useremorley@mozilla.com
push dateThu, 18 Oct 2012 17:12:58 +0000
treeherdermozilla-central@3779eb3f036f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs802616
milestone19.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 802616 - don't use software floating point math on ARMv6 r=glandium
build/autoconf/arch.m4
dom/bindings/BindingGen.py
js/src/build/autoconf/arch.m4
--- a/build/autoconf/arch.m4
+++ b/build/autoconf/arch.m4
@@ -45,16 +45,20 @@ if test -z "$MOZ_ARCH"; then
         fi
         if test "$MOZ_PLATFORM_MAEMO" = 6; then
             MOZ_THUMB=yes
         fi
         ;;
     esac
 fi
 
+if test "$MOZ_ARCH" = "armv6" -a "$OS_TARGET" = "Android"; then
+   MOZ_FPU=vfp
+fi
+
 MOZ_ARG_WITH_STRING(thumb,
 [  --with-thumb[[=yes|no|toolchain-default]]]
 [                          Use Thumb instruction set (-mthumb)],
     if test -z "$GNU_CC"; then
         AC_MSG_ERROR([--with-thumb is not supported on non-GNU toolchains])
     fi
     MOZ_THUMB=$withval)
 
--- a/js/src/build/autoconf/arch.m4
+++ b/js/src/build/autoconf/arch.m4
@@ -45,16 +45,20 @@ if test -z "$MOZ_ARCH"; then
         fi
         if test "$MOZ_PLATFORM_MAEMO" = 6; then
             MOZ_THUMB=yes
         fi
         ;;
     esac
 fi
 
+if test "$MOZ_ARCH" = "armv6" -a "$OS_TARGET" = "Android"; then
+   MOZ_FPU=vfp
+fi
+
 MOZ_ARG_WITH_STRING(thumb,
 [  --with-thumb[[=yes|no|toolchain-default]]]
 [                          Use Thumb instruction set (-mthumb)],
     if test -z "$GNU_CC"; then
         AC_MSG_ERROR([--with-thumb is not supported on non-GNU toolchains])
     fi
     MOZ_THUMB=$withval)