This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] --enable-gofast switch for mips/others
- From: Eric Christopher <echristo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: 09 Jul 2002 12:02:28 -0700
- Subject: [PATCH] --enable-gofast switch for mips/others
I've been mentioning doing this for a while and finally have while doing
some other header file cleanup.
This moves gofast support to a configure time option.
Thoughts?
-eric
--
I will not carve gods
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.222
diff -u -p -w -r1.222 config.gcc
--- config.gcc 2 Jul 2002 23:26:44 -0000 1.222
+++ config.gcc 9 Jul 2002 19:01:21 -0000
@@ -2889,6 +2888,11 @@ mips*-*-*)
tm_defines="TARGET_ENDIAN_DEFAULT=0 $tm_defines"
;;
esac
+ if test x$enable_gofast = xyes
+ then
+ tm_defines="INIT_SUBTARGET_OPTABS=INIT_GOFAST_OPTABS $tm_defines"
+ tm_file="gofast.h ${tm_file}"
+ fi
;;
powerpc*-*-* | rs6000-*-*)
if test x$enable_altivec = xyes