From 303906c1e34fcb50c4fb3b106f5b8e99632c9b68 Mon Sep 17 00:00:00 2001 From: dje Date: Sat, 11 Oct 2008 13:33:04 +0000 Subject: 2008-10-11 Michael J. Eager * config/rs6000/rs6000.c (rs6000_parse_fpu_option): Interpret -mfpu options. (rs6000_handle_option): Process -mfpu options. * config/rs6000/rs6000.h: (TARGET_XILINX_FPU): New. (enum fpu_type_t): New. * config/rs6000/rs6000.md (attr fp_type): New. Include xfpu.md. (addsf3, subsf3, mulsf3, adddf3, subdf3, muldf3, trunctfdf2): Set fp_type. (floatsisf2): Remove TARGET_SINGLE_FPU condition. (floatdidf2): Add TARGET_SINGLE_FPU condition. * config/rs6000/rs6000.opt (-mfpu): New. (-mxilinx-fpu): New. * config/rs6000/sysv4.h: (DRIVER_SELF_SPECS): New. * config/rs6000/xfpu.h: New. Define TARGET_XILINX_FPU. * config/rs6000/xfpu.md: New. Define Xilinx pipeline. * gcc/config.gcc: powerpc-xilinx-eabi target: New. * gcc/doc/invoke.texi (RS/6000 and PowerPC Options): Add -mfpu option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141059 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/rs6000/sysv4.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/config/rs6000/sysv4.h') diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index b94de3bbbf4..8e309803cd9 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -729,6 +729,9 @@ extern int fixuplabelno; #define LINK_OS_DEFAULT_SPEC "" +#define DRIVER_SELF_SPECS "%{mfpu=none: %