ppc e500: multilibs for e500

Aldy Hernandez aldy@quesejoda.com
Wed Apr 16 19:00:00 GMT 2003


Multilibs.  Don't look at me, I just work here.

Committed to mainline.

2003-04-16  Aldy Hernandez  <aldyh@redhat.com>

	* config.gcc: Add t-spe for eabispe.

	* config/rs6000/t-spe: New.

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.292
diff -c -p -r1.292 config.gcc
*** config.gcc	13 Apr 2003 16:59:39 -0000	1.292
--- config.gcc	16 Apr 2003 18:56:38 -0000
*************** powerpc-*-chorusos*)
*** 1963,1969 ****
   	;;
   powerpc-*-eabispe*)
   	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h 
rs6000/sysv4.h rs6000/eabi.h rs6000/eabispe.h"
! 	tmake_file="rs6000/t-fprules rs6000/t-ppcendian rs6000/t-ppccomm"
   	;;
   powerpc-*-eabisimaltivec*)
   	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h 
rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h rs6000/eabialtivec.h"
--- 1963,1969 ----
   	;;
   powerpc-*-eabispe*)
   	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h 
rs6000/sysv4.h rs6000/eabi.h rs6000/eabispe.h"
! 	tmake_file="rs6000/t-fprules rs6000/t-spe rs6000/t-ppccomm"
   	;;
   powerpc-*-eabisimaltivec*)
   	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h 
rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h rs6000/eabialtivec.h"
Index: config/rs6000/t-spe
===================================================================
RCS file: config/rs6000/t-spe
diff -N config/rs6000/t-spe
*** /dev/null	1 Jan 1970 00:00:00 -0000
--- config/rs6000/t-spe	16 Apr 2003 18:56:38 -0000
***************
*** 0 ****
--- 1,55 ----
+ # Multilibs for e500
+
+ # What we really want are these variants:
+ #	-mcpu=7400
+ #	-mcpu=7400 -maltivec -mabi=altivec
+ #	-mcpu=7400 -msoft-float
+ #	-msoft-float
+ #	-mspe=no -mabi=no-spe -misel=no
+ # so we'll need to create exceptions later below.
+
+ MULTILIB_OPTIONS	= mcpu=7400 \
+ 			  maltivec \
+ 			  mabi=altivec \
+ 			  msoft-float \
+ 			  mspe=no \
+ 			  mabi=no-spe \
+ 			  misel=no \
+ 			  mlittle
+
+ MULTILIB_DIRNAMES	= mpc7400 altivec abi-altivec \
+ 			  nof no-spe no-abi-spe no-isel le
+
+ MULTILIB_EXCEPTIONS	= maltivec mabi=altivec mspe=no mabi=no-spe 
misel=no \
+ 			  maltivec/mabi=altivec \
+ 			  mcpu=7400/maltivec \
+ 			  mcpu=7400/mabi=altivec \
+ 			  *mcpu=7400/*mspe=no* \
+ 			  *mcpu=7400/*mabi=no-spe* \
+ 			  *mcpu=7400/*misel=no* \
+ 			  *maltivec/*msoft-float* \
+ 			  *maltivec/*mspe=no* \
+ 			  *maltivec/*mabi=no-spe* \
+ 			  *maltivec/*misel=no* \
+ 			  *mabi=altivec/*msoft-float* \
+ 			  *mabi=altivec/*mspe=no* \
+ 			  *mabi=altivec/*mabi=no-spe* \
+ 			  *mabi=altivec/*misel=no* \
+ 			  *msoft-float/*mspe=no* \
+ 			  *msoft-float/*mabi=no-spe* \
+ 			  *msoft-float/*misel=no* \
+ 			  mspe=no/mabi=no-spe \
+ 			  mspe=no/misel=no \
+ 			  mabi=no-spe/misel=no \
+ 			  misel=no/mlittle \
+ 			  mabi=no-spe/misel=no/mlittle \
+ 			  mspe=no/mlittle \
+ 			  mabi=spe/mlittle \
+ 			  mcpu=7400/mabi=altivec/mlittle \
+ 			  mcpu=7400/maltivec/mlittle \
+ 			  mabi=no-spe/mlittle \
+ 			  mspe=no/misel=no/mlittle \
+ 			  mspe=no/mabi=no-spe/mlittle \
+ 			  mabi=altivec/mlittle \
+ 			  maltivec/mlittle \
+ 			  maltivec/mabi=altivec/mlittle



More information about the Gcc-patches mailing list