X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=js%2Fsrc%2Fconfigure;h=b2e599fb662f2c86ad98d2f79a85cd9b244643fc;hb=db4843164340e965dc0e6168dbb59b3e795e511c;hp=8a0543e1a9725fd1899abe355bb462db84ebbd2c;hpb=be24aeee563e7318c4dc5b371bdf5f6173b29240;p=platform%2Fupstream%2Fjs.git diff --git a/js/src/configure b/js/src/configure index 8a0543e..b2e599f 100755 --- a/js/src/configure +++ b/js/src/configure @@ -10633,42 +10633,6 @@ EOF fi -echo $ac_n "checking for ARM NEON support in compiler""... $ac_c" 1>&6 -echo "configure:10638: checking for ARM NEON support in compiler" >&5 -_SAVE_CFLAGS="$CFLAGS" -if test "$GNU_CC"; then - # gcc needs -mfpu=neon to recognize NEON instructions - CFLAGS="$CFLAGS -mfpu=neon -mfloat-abi=softfp" -fi -cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - result="yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - result="no" -fi -rm -f conftest* -echo "$ac_t"""$result"" 1>&6 -if test "$result" = "yes"; then - cat >> confdefs.h <<\EOF -#define HAVE_ARM_NEON 1 -EOF - - HAVE_ARM_NEON=1 -fi -CFLAGS="$_SAVE_CFLAGS" - - case "$target_os" in darwin*) USE_PTHREADS=1 @@ -13292,66 +13256,6 @@ if test "${with_cpu_arch+set}" = set; then fi -if test -n "$MOZ_THUMB2"; then - case "$target_cpu" in - arm*) - if test "$MOZ_ARM_ARCH" != "armv7"; then - { echo "configure: error: --enable-thumb2 is not compatible with cpu-arch=$MOZ_ARM_ARCH" 1>&2; exit 1; } - fi - if test "$GNU_CC"; then - cat >> confdefs.h <<\EOF -#define MOZ_THUMB2 1 -EOF - - cat >> confdefs.h <<\EOF -#define MOZ_ARM_ARCH 1 -EOF - - CFLAGS="$CFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS" - CXXFLAGS="$CXXFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS" - ASFLAGS="$ASFLAGS -march=armv7-a -mthumb -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS" - else - { echo "configure: error: --enable-thumb2 is not supported for non-GNU toolchains" 1>&2; exit 1; } - fi - ;; - *) - { echo "configure: error: --enable-thumb2 is not supported for non-ARM CPU architectures" 1>&2; exit 1; } - ;; - esac -elif test "$MOZ_ARM_ARCH" = "armv7"; then - case "$target_cpu" in - arm*) - if test "$GNU_CC"; then - cat >> confdefs.h <<\EOF -#define MOZ_ARM_ARCH 1 -EOF - - CFLAGS="$CFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS" - CXXFLAGS="$CXXFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS" - ASFLAGS="$ASFLAGS -march=armv7-a -marm -mfloat-abi=softfp $MOZ_ARM_VFP_FLAGS" - else - { echo "configure: error: --with-cpu-arch=armv7 is not supported for non-GNU toolchains" 1>&2; exit 1; } - fi - ;; - *) - { echo "configure: error: --with-cpu-arch=armv7 is not supported for non-ARM CPU architectures" 1>&2; exit 1; } - ;; - esac -else - case "$target_cpu" in - arm*) - if test "$GNU_CC"; then - CFLAGS="$CFLAGS -march=armv5te -mthumb-interwork -msoft-float" - CXXFLAGS="$CXXFLAGS -march=armv5te -mthumb-interwork -msoft-float" - ASFLAGS="$ASFLAGS -march=armv5te -mthumb-interwork -msoft-float" - fi - ;; - esac -fi - - - - # Debugging and Optimizations if test -z "$MOZ_DEBUG_FLAGS"; then