This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
ppc e500: t-spe changes
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 22 Apr 2003 09:15:40 -0400
- Subject: ppc e500: t-spe changes
I missed the config.gcc change in the last t-spe change.
I've also merged in t-fprules into t-spe. This part is infrastructure
for the 128 bit long double stuff, since I have to tweak the *p-bit.c
files.
I've committed to mainline and e500 branch.
2003-04-22 Aldy Hernandez <aldyh at redhat dot com>
* config/rs6000/t-spe: Merge in t-fprules into file.
* config.gcc: Add t-spe to powerpc-eabispe.
Index: config/rs6000/t-spe
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/t-spe,v
retrieving revision 1.1
diff -c -p -r1.1 t-spe
*** config/rs6000/t-spe 16 Apr 2003 18:58:08 -0000 1.1
--- config/rs6000/t-spe 22 Apr 2003 13:05:43 -0000
***************
*** 1,5 ****
--- 1,18 ----
# Multilibs for e500
+ FPBIT = fp-bit.c
+ DPBIT = dp-bit.c
+
+ dp-bit.c: $(srcdir)/config/fp-bit.c
+ cat $(srcdir)/config/fp-bit.c > dp-bit.c
+
+ fp-bit.c: $(srcdir)/config/fp-bit.c
+ echo '#define FLOAT' > fp-bit.c
+ cat $(srcdir)/config/fp-bit.c >> fp-bit.c
+
+ LIBGCC = stmp-multilib
+ INSTALL_LIBGCC = install-multilib
+
# What we really want are these variants:
# -mcpu=7400
# -mcpu=7400 -maltivec -mabi=altivec
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.293
diff -c -p -r1.293 config.gcc
*** config.gcc 19 Apr 2003 21:23:19 -0000 1.293
--- config.gcc 22 Apr 2003 13:05:43 -0000
*************** powerpc-*-chorusos*)
*** 1961,1967 ****
;;
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"
--- 1961,1967 ----
;;
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-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"