This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]