diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-08-12 04:07:19 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-08-11 22:07:19 -0600 |
commit | 8c660648cab7bed53c82b8283dcf170db7e97983 (patch) | |
tree | d4545c8066f57414681646f5d32d3f9b95acbe1b /gcc/configure | |
parent | aa32d8415861b4a41e0b3f38654bc425cb7cb64d (diff) | |
download | gcc-8c660648cab7bed53c82b8283dcf170db7e97983.tar.gz |
* Integrate Haifa instruction scheduler.
* Integrate regmove pass.
See ChangeLog for deatils.
From-SVN: r14770
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure index 64999d034ab..74dd86eeead 100755 --- a/gcc/configure +++ b/gcc/configure @@ -4361,6 +4361,26 @@ if [ ! -f Makefile.in ]; then echo "source ${srcdir}/.gdbinit" >> .gdbinit fi +# Override SCHED_OBJ and SCHED_CFLAGS to enable the Haifa scheduler. +sched_prefix= +sched_cflags= +if [[ x$enable_haifa = xyes ]]; then + echo "Using the Haifa scheduler." + sched_prefix=haifa- + sched_cflags=-DHAIFA +fi + + +if [[ x$enable_haifa != x ]]; then + # Explicitly remove files that need to be recompiled for the Haifa scheduler. + for x in genattrtab.o toplev.o loop.o unroll.o *sched.o; do + if [ -f $x ]; then + echo "Removing $x" + rm -f $x + fi + done +fi + # Process the language and host/target makefile fragments. ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag $srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file" @@ -4602,6 +4622,8 @@ s%@CC@%$CC%g s%@SET_MAKE@%$SET_MAKE%g s%@CPP@%$CPP%g s%@manext@%$manext%g +s%@sched_prefix@%$sched_prefix%g +s%@sched_cflags@%$sched_cflags%g s%@objext@%$objext%g s%@subdirs@%$subdirs%g s%@all_languages@%$all_languages%g |