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]

ppc e500: SUBSUBTARGET_OVERRIDE_OPTIONS tweaks


pretty obvious. patch by Nick.

committed to mainline.

2003-02-10 Nick Clifton <nickc@redhat.com>
Aldy Hernandez <aldyh@redhat.com>

* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
override options which have been specified on the command line.

Index: config/rs6000/eabispe.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/eabispe.h,v
retrieving revision 1.1
diff -c -p -r1.1 eabispe.h
*** config/rs6000/eabispe.h 25 Jul 2002 02:22:47 -0000 1.1
--- config/rs6000/eabispe.h 10 Feb 2003 23:37:58 -0000
*************** Boston, MA 02111-1307, USA. */
*** 28,39 ****

#undef SUBSUBTARGET_OVERRIDE_OPTIONS
#define SUBSUBTARGET_OVERRIDE_OPTIONS \
! rs6000_cpu = PROCESSOR_PPC8540; \
! rs6000_spe_abi = 1; \
rs6000_fprs = 0; \
/* See note below. */ \
! /*rs6000_long_double_type_size = 128;*/ \
! rs6000_isel = 1

/*
The e500 ABI says that either long doubles are 128 bits, or if
--- 28,43 ----

#undef SUBSUBTARGET_OVERRIDE_OPTIONS
#define SUBSUBTARGET_OVERRIDE_OPTIONS \
! if (rs6000_select[1].string == NULL) \
! rs6000_cpu = PROCESSOR_PPC8540; \
! if (rs6000_abi_string == NULL || strstr (rs6000_abi_string, "spe") == NULL) \
! rs6000_spe_abi = 1; \
rs6000_fprs = 0; \
/* See note below. */ \
! /*if (rs6000_long_double_size_string == NULL)*/ \
! /* rs6000_long_double_type_size = 128;*/ \
! if (rs6000_isel_string == NULL) \
! rs6000_isel = 1

/*
The e500 ABI says that either long doubles are 128 bits, or if


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