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 linux patchlet


With this patch we can now build a (stage1) Linux E500 compiler.  It
still doesn't bootstrap, but I'm working on it ;-).

Applied to mainline and e500 branch.

2003-10-05  Aldy Hernandez  <aldyh@redhat.com>

	* config/rs6000/linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE,
	TARGET_E500, TARGET_ISEL, and TARGET_FPRS.

Index: config/rs6000/linuxspe.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/rs6000/linuxspe.h,v
retrieving revision 1.1.2.1
diff -c -p -r1.1.2.1 linuxspe.h
*** config/rs6000/linuxspe.h	6 May 2003 20:37:49 -0000	1.1.2.1
--- config/rs6000/linuxspe.h	5 Oct 2003 22:39:27 -0000
***************
*** 27,32 ****
--- 27,44 ----
  #undef	TARGET_DEFAULT
  #define	TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS)
  
+ #undef TARGET_SPE_ABI
+ #undef TARGET_SPE
+ #undef TARGET_E500
+ #undef TARGET_ISEL
+ #undef TARGET_FPRS
+ 
+ #define TARGET_SPE_ABI rs6000_spe_abi
+ #define TARGET_SPE rs6000_spe
+ #define TARGET_E500 (rs6000_cpu == PROCESSOR_PPC8540)
+ #define TARGET_ISEL rs6000_isel
+ #define TARGET_FPRS (!rs6000_float_gprs)
+ 
  #undef  SUBSUBTARGET_OVERRIDE_OPTIONS
  #define SUBSUBTARGET_OVERRIDE_OPTIONS \
    if (rs6000_select[1].string == NULL) \


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