зеркало из https://github.com/mozilla/gecko-dev.git
Bug 469225: Move HAVE_ARM_SIMD test after header file tests. r=vladimir
This should have no effect; the test there is in the midst of a section titled, "Checks for header files", and doesn't belong there. I've made the same change in both the top-level configure.in and js/src/configure.in, just to keep things parallel.
This commit is contained in:
Родитель
4bb8aab579
Коммит
4149ac2a02
22
configure.in
22
configure.in
|
@ -2958,17 +2958,6 @@ dnl NB - later gcc versions require -mmmx for this header to be successfully
|
|||
dnl included (or another option which implies it, such as -march=pentium-mmx)
|
||||
AC_CHECK_HEADERS(mmintrin.h)
|
||||
|
||||
AC_MSG_CHECKING(for ARM SIMD support)
|
||||
AC_TRY_COMPILE([],
|
||||
[asm("uqadd8 r1, r1, r2");],
|
||||
result="yes", result="no")
|
||||
AC_MSG_RESULT("$result")
|
||||
if test "$result" = "yes"; then
|
||||
AC_DEFINE(HAVE_ARM_SIMD)
|
||||
HAVE_ARM_SIMD=1
|
||||
fi
|
||||
AC_SUBST(HAVE_ARM_SIMD)
|
||||
|
||||
dnl Check whether the compiler supports the new-style C++ standard
|
||||
dnl library headers (i.e. <new>) or needs the old "new.h"
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
@ -3158,6 +3147,17 @@ AC_SUBST(XLDFLAGS)
|
|||
AC_SUBST(XLIBS)
|
||||
AC_SUBST(XT_LIBS)
|
||||
|
||||
AC_MSG_CHECKING(for ARM SIMD support)
|
||||
AC_TRY_COMPILE([],
|
||||
[asm("uqadd8 r1, r1, r2");],
|
||||
result="yes", result="no")
|
||||
AC_MSG_RESULT("$result")
|
||||
if test "$result" = "yes"; then
|
||||
AC_DEFINE(HAVE_ARM_SIMD)
|
||||
HAVE_ARM_SIMD=1
|
||||
fi
|
||||
AC_SUBST(HAVE_ARM_SIMD)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = pthread support
|
||||
dnl = Start by checking whether the system support pthreads
|
||||
|
|
|
@ -2795,17 +2795,6 @@ dnl NB - later gcc versions require -mmmx for this header to be successfully
|
|||
dnl included (or another option which implies it, such as -march=pentium-mmx)
|
||||
AC_CHECK_HEADERS(mmintrin.h)
|
||||
|
||||
AC_MSG_CHECKING(for ARM SIMD support)
|
||||
AC_TRY_COMPILE([],
|
||||
[asm("uqadd8 r1, r1, r2");],
|
||||
result="yes", result="no")
|
||||
AC_MSG_RESULT("$result")
|
||||
if test "$result" = "yes"; then
|
||||
AC_DEFINE(HAVE_ARM_SIMD)
|
||||
HAVE_ARM_SIMD=1
|
||||
fi
|
||||
AC_SUBST(HAVE_ARM_SIMD)
|
||||
|
||||
dnl Check whether the compiler supports the new-style C++ standard
|
||||
dnl library headers (i.e. <new>) or needs the old "new.h"
|
||||
AC_LANG_CPLUSPLUS
|
||||
|
@ -2891,6 +2880,17 @@ if test "$MOZ_ARM_VFP"; then
|
|||
AC_DEFINE(NJ_ARM_VFP)
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for ARM SIMD support)
|
||||
AC_TRY_COMPILE([],
|
||||
[asm("uqadd8 r1, r1, r2");],
|
||||
result="yes", result="no")
|
||||
AC_MSG_RESULT("$result")
|
||||
if test "$result" = "yes"; then
|
||||
AC_DEFINE(HAVE_ARM_SIMD)
|
||||
HAVE_ARM_SIMD=1
|
||||
fi
|
||||
AC_SUBST(HAVE_ARM_SIMD)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = pthread support
|
||||
dnl = Start by checking whether the system support pthreads
|
||||
|
|
Загрузка…
Ссылка в новой задаче