[PATCH] --enable-gofast switch for mips/others
Eric Christopher
echristo@redhat.com
Tue Jul 9 12:47:00 GMT 2002
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
More information about the Gcc-patches
mailing list