Set need_64bit_hwint to yes for x86 targets.
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 28 Jul 2011 14:29:38 +0000 (14:29 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 28 Jul 2011 14:29:38 +0000 (07:29 -0700)
gcc/

2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* config.gcc: Set need_64bit_hwint to yes for x86 targets.

libcpp/

2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>

* configure.ac: Set need_64bit_hwint to yes for x86 targets.
* configure: Regenerated.

From-SVN: r176871

gcc/ChangeLog
gcc/config.gcc
libcpp/ChangeLog
libcpp/configure
libcpp/configure.ac

index cd54848866e6bc2674dfac4513df381c18ee0d46..59e1cd553f5b182f08262e506ad52bdb652a4825 100644 (file)
@@ -1,3 +1,7 @@
+2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config.gcc: Set need_64bit_hwint to yes for x86 targets.
+
 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/47364
index d7cf8958e340e10fcdbae3f1d9c2cbb7ee9b48cd..02cc556cccae34a2ec63223c13432fc8f902690d 100644 (file)
@@ -345,6 +345,7 @@ i[34567]86-*-*)
        cpu_type=i386
        c_target_objs="i386-c.o"
        cxx_target_objs="i386-c.o"
+       need_64bit_hwint=yes
        extra_options="${extra_options} fused-madd.opt"
        extra_headers="cpuid.h mmintrin.h mm3dnow.h xmmintrin.h emmintrin.h
                       pmmintrin.h tmmintrin.h ammintrin.h smmintrin.h
@@ -1211,7 +1212,6 @@ hppa[12]*-*-hpux11*)
        fi
        ;;
 i[34567]86-*-darwin*)
-       need_64bit_hwint=yes
        need_64bit_isa=yes
        # Baseline choice for a machine that allows m64 support.
        with_cpu=${with_cpu:-core2}
@@ -1293,7 +1293,6 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i
                                esac
                        done
                        TM_MULTILIB_CONFIG=`echo $TM_MULTILIB_CONFIG | sed 's/^,//'`
-                       need_64bit_hwint=yes
                        need_64bit_isa=yes
                        case X"${with_cpu}" in
                        Xgeneric|Xatom|Xcore2|Xcorei7|Xcorei7-avx|Xnocona|Xx86-64|Xbdver2|Xbdver1|Xbtver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
@@ -1415,7 +1414,6 @@ i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
                tm_file="${tm_file} i386/x86-64.h i386/sol2-bi.h sol2-bi.h"
                tm_defines="${tm_defines} TARGET_BI_ARCH=1"
                tmake_file="$tmake_file i386/t-sol2-64"
-               need_64bit_hwint=yes
                need_64bit_isa=yes
                case X"${with_cpu}" in
                Xgeneric|Xatom|Xcore2|Xcorei7|Xcorei7-avx|Xnocona|Xx86-64|Xbdver2|Xbdver1|Xbtver1|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx|Xathlon64-sse3|Xk8-sse3|Xopteron-sse3)
@@ -1478,7 +1476,6 @@ i[34567]86-*-mingw* | x86_64-*-mingw*)
        xm_file=i386/xm-mingw32.h
        case ${target} in
                x86_64-*-* | *-w64-*)
-                       need_64bit_hwint=yes
                        need_64bit_isa=yes
                        ;;
                *)
index b7d8d00b1bc0cb61e5ca445bace581c4c35a5807..3f5ab0b21f298090b37bf11dee07228e826f43ab 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac: Set need_64bit_hwint to yes for x86 targets.
+       * configure: Regenerated.
+
 2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * system.h [__cplusplus]: Wrap C function declarations in extern "C".
index b453a7b349bd6043c4525274072b50913ce6dec7..c400d23a93df298f37b9079d1e92991a808349bf 100755 (executable)
@@ -7312,9 +7312,7 @@ case $target in
        x86_64-*-* | \
        ia64-*-* | \
        hppa*64*-*-* | \
-       i[34567]86-*-darwin* | \
-       i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]* | \
-       i[34567]86-w64-mingw* | \
+       i[34567]86-*-* | x86_64-*-solaris2.1[0-9]* | \
        mips*-*-* | \
        mmix-*-* | \
        powerpc*-*-* | \
@@ -7324,13 +7322,6 @@ case $target in
        spu-*-* | \
        sh[123456789lbe]*-*-* | sh-*-*)
                need_64bit_hwint=yes ;;
-       i[34567]86-*-linux*)
-               if test "x$enable_targets" = xall; then
-                       need_64bit_hwint=yes
-               else
-                       need_64bit_hwint=no
-               fi
-               ;;
        *)
                need_64bit_hwint=no ;;
 esac
index 170932cbc9f33efb7e5fb333c0dce3da6e835022..e1d88511c789232041bb3b6accfae8289f14d550 100644 (file)
@@ -150,9 +150,7 @@ case $target in
        x86_64-*-* | \
        ia64-*-* | \
        hppa*64*-*-* | \
-       i[34567]86-*-darwin* | \
-       i[34567]86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]* | \
-       i[34567]86-w64-mingw* | \
+       i[34567]86-*-* | x86_64-*-solaris2.1[0-9]* | \
        mips*-*-* | \
        mmix-*-* | \
        powerpc*-*-* | \
@@ -162,13 +160,6 @@ case $target in
        spu-*-* | \
        sh[123456789lbe]*-*-* | sh-*-*)
                need_64bit_hwint=yes ;;
-       i[34567]86-*-linux*)
-               if test "x$enable_targets" = xall; then
-                       need_64bit_hwint=yes
-               else
-                       need_64bit_hwint=no
-               fi
-               ;;
        *)
                need_64bit_hwint=no ;;
 esac