From 44517326d6488d36f18fda182f0b0b7bf99d34a6 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 11 Dec 1997 22:51:34 +0000 Subject: [PATCH] configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by default. * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by default. From-SVN: r17046 --- gcc/ChangeLog | 5 ++-- gcc/configure | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/configure.in | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 123 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 68d46a304a3..171940a4323 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,7 @@ -Wed Dec 10 18:14:10 1997 Jeffrey A Law (law@cygnus.com) +Thu Dec 11 15:50:29 1997 David Edelsohn - * combine.c (simplify_rtx, case ABS): Do nothing for ASM_OPERANDS. + * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by + default. Wed Dec 10 12:30:18 1997 Anthony Green diff --git a/gcc/configure b/gcc/configure index 0c0dfd4f0a2..e9dc7cd7480 100755 --- a/gcc/configure +++ b/gcc/configure @@ -4884,6 +4884,9 @@ for machine in $build $host $target; do use_collect2=yes ;; powerpc-*-sysv* | powerpc-*-elf*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/sysv4.h xm_file=rs6000/xm-sysv4.h extra_headers=ppc-asm.h @@ -4896,18 +4899,27 @@ for machine in $build $host $target; do xmake_file=rs6000/x-sysv4 ;; powerpc-*-eabiaix*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/eabiaix.h tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" fixincludes=Makefile.in extra_headers=ppc-asm.h ;; powerpc-*-eabisim*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/eabisim.h tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" fixincludes=Makefile.in extra_headers=ppc-asm.h ;; powerpc-*-eabi*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/eabi.h if [ x$gas = xyes ] then @@ -4919,6 +4931,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpc-*-rtems*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/rtems.h if [ x$gas = xyes ] then @@ -4930,6 +4945,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpc-*-linux-gnu*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/linux.h xm_file=rs6000/xm-sysv4.h out_file=rs6000/rs6000.c @@ -4948,6 +4966,9 @@ for machine in $build $host $target; do fi ;; powerpc-*-vxworks*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi cpu_type=rs6000 xm_file=rs6000/xm-sysv4.h tm_file=rs6000/vxppc.h @@ -4955,6 +4976,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-sysv* | powerpcle-*-elf*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/sysv4le.h xm_file=rs6000/xm-sysv4.h if [ x$gas = xyes ] @@ -4967,12 +4991,18 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-eabisim*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/eabilesim.h tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" fixincludes=Makefile.in extra_headers=ppc-asm.h ;; powerpcle-*-eabi*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/eabile.h if [ x$gas = xyes ] then @@ -4984,6 +5014,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-winnt* ) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/win-nt.h tmake_file=rs6000/t-winnt # extra_objs=pe.o @@ -4994,6 +5027,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-pe | powerpcle-*-cygwin32) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/cygwin32.h xm_file=rs6000/xm-cygwin32.h tmake_file=rs6000/t-winnt @@ -5007,6 +5043,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-solaris2*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/sol2.h xm_file=rs6000/xm-sysv4.h if [ x$gas = xyes ] @@ -5020,11 +5059,17 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; rs6000-ibm-aix3.[01]*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/aix31.h xmake_file=rs6000/x-aix31 use_collect2=yes ;; rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/aix3newas.h if [ x$host != x$target ] then @@ -5035,6 +5080,9 @@ for machine in $build $host $target; do use_collect2=yes ;; rs6000-ibm-aix[456789].* | powerpc-ibm-aix[456789].*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/aix41.h if [ x$host != x$target ] then @@ -5046,18 +5094,30 @@ for machine in $build $host $target; do use_collect2=yes ;; rs6000-ibm-aix*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi use_collect2=yes ;; rs6000-bull-bosx) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi use_collect2=yes ;; rs6000-*-mach*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/mach.h xm_file=rs6000/xm-mach.h xmake_file=rs6000/x-mach use_collect2=yes ;; rs6000-*-lynxos*) + if [ x$enable_haifa != xno ]; then + enable_haifa=yes + fi tm_file=rs6000/lynx.h xm_file=rs6000/xm-lynx.h tmake_file=rs6000/t-rs6000 diff --git a/gcc/configure.in b/gcc/configure.in index 30fed7002ae..d307fa0882f 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -2125,6 +2125,9 @@ for machine in $build $host $target; do use_collect2=yes ;; powerpc-*-sysv* | powerpc-*-elf*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/sysv4.h xm_file=rs6000/xm-sysv4.h extra_headers=ppc-asm.h @@ -2137,18 +2140,27 @@ for machine in $build $host $target; do xmake_file=rs6000/x-sysv4 ;; powerpc-*-eabiaix*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/eabiaix.h tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" fixincludes=Makefile.in extra_headers=ppc-asm.h ;; powerpc-*-eabisim*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/eabisim.h tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" fixincludes=Makefile.in extra_headers=ppc-asm.h ;; powerpc-*-eabi*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/eabi.h if [[ x$gas = xyes ]] then @@ -2160,6 +2172,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpc-*-rtems*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/rtems.h if [[ x$gas = xyes ]] then @@ -2171,6 +2186,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpc-*-linux-gnu*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/linux.h xm_file=rs6000/xm-sysv4.h out_file=rs6000/rs6000.c @@ -2189,6 +2207,9 @@ for machine in $build $host $target; do fi ;; powerpc-*-vxworks*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi cpu_type=rs6000 xm_file=rs6000/xm-sysv4.h tm_file=rs6000/vxppc.h @@ -2196,6 +2217,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-sysv* | powerpcle-*-elf*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/sysv4le.h xm_file=rs6000/xm-sysv4.h if [[ x$gas = xyes ]] @@ -2208,12 +2232,18 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-eabisim*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/eabilesim.h tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" fixincludes=Makefile.in extra_headers=ppc-asm.h ;; powerpcle-*-eabi*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/eabile.h if [[ x$gas = xyes ]] then @@ -2225,6 +2255,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-winnt* ) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/win-nt.h tmake_file=rs6000/t-winnt # extra_objs=pe.o @@ -2235,6 +2268,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-pe | powerpcle-*-cygwin32) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/cygwin32.h xm_file=rs6000/xm-cygwin32.h tmake_file=rs6000/t-winnt @@ -2248,6 +2284,9 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; powerpcle-*-solaris2*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/sol2.h xm_file=rs6000/xm-sysv4.h if [[ x$gas = xyes ]] @@ -2261,11 +2300,17 @@ for machine in $build $host $target; do extra_headers=ppc-asm.h ;; rs6000-ibm-aix3.[[01]]*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/aix31.h xmake_file=rs6000/x-aix31 use_collect2=yes ;; rs6000-ibm-aix3.2.[[456789]]* | powerpc-ibm-aix3.2.[[456789]]*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/aix3newas.h if [[ x$host != x$target ]] then @@ -2276,6 +2321,9 @@ for machine in $build $host $target; do use_collect2=yes ;; rs6000-ibm-aix[[456789]].* | powerpc-ibm-aix[[456789]].*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/aix41.h if [[ x$host != x$target ]] then @@ -2287,18 +2335,30 @@ for machine in $build $host $target; do use_collect2=yes ;; rs6000-ibm-aix*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi use_collect2=yes ;; rs6000-bull-bosx) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi use_collect2=yes ;; rs6000-*-mach*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/mach.h xm_file=rs6000/xm-mach.h xmake_file=rs6000/x-mach use_collect2=yes ;; rs6000-*-lynxos*) + if [[ x$enable_haifa != xno ]]; then + enable_haifa=yes + fi tm_file=rs6000/lynx.h xm_file=rs6000/xm-lynx.h tmake_file=rs6000/t-rs6000