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]

[PATCH] ARM correctly annotate newer cores with load-schedulingproperty


It was pointed out in a recent bugzilla report that a number of the more
recent cores did not have there load-scheduling capability noted in the
core attributes flag.  This would cause them to use sub-optimal constant
generating heuristics.

Tested on an arm-elf cross.

This patch annotates the cores correctly.

2004-12-14  Richard Earnshaw  <rearnsha@arm.com>

	PR target/18973
	arm-cores.def (arm926ej-s, arm1026ej-s, arm1136j-s, arm1136-jfs)
	(arm1176jz-s, arm1176jzf-s, mpcorenovfp, mpcore): Add load-scheduling
	property to flags.

R.


Index: arm-cores.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm-cores.def,v
retrieving revision 1.10
diff -p -r1.10 arm-cores.def
*** arm-cores.def	12 Oct 2004 15:38:28 -0000	1.10
--- arm-cores.def	14 Dec 2004 14:02:37 -0000
*************** ARM_CORE("xscale",        xscale,	5TE,	 
*** 105,117 ****
  ARM_CORE("iwmmxt",        iwmmxt,	5TE,	                         FL_LDSCHED | FL_STRONG | FL_XSCALE | FL_IWMMXT, xscale)
  
  /* V5TEJ Architecture Processors */
! ARM_CORE("arm926ej-s",    arm926ejs,	5TEJ,	                         0, 9e)
! ARM_CORE("arm1026ej-s",   arm1026ejs,	5TEJ,	                         0, 9e)
  
  /* V6 Architecture Processors */
! ARM_CORE("arm1136j-s",    arm1136js,	6J,	                         0, 9e)
! ARM_CORE("arm1136jf-s",   arm1136jfs,	6J,	                         FL_VFPV2, 9e)
! ARM_CORE("arm1176jz-s",	  arm1176jzs,	6ZK,				 0, 9e)
! ARM_CORE("arm1176jzf-s",  arm1176jzfs,	6ZK,				 FL_VFPV2, 9e)
! ARM_CORE("mpcorenovfp",	  mpcorenovfp,	6K,				 0, 9e)
! ARM_CORE("mpcore",	  mpcore,	6K,				 FL_VFPV2, 9e)
--- 105,117 ----
  ARM_CORE("iwmmxt",        iwmmxt,	5TE,	                         FL_LDSCHED | FL_STRONG | FL_XSCALE | FL_IWMMXT, xscale)
  
  /* V5TEJ Architecture Processors */
! ARM_CORE("arm926ej-s",    arm926ejs,	5TEJ,	                         FL_LDSCHED, 9e)
! ARM_CORE("arm1026ej-s",   arm1026ejs,	5TEJ,	                         FL_LDSCHED, 9e)
  
  /* V6 Architecture Processors */
! ARM_CORE("arm1136j-s",    arm1136js,	6J,	                         FL_LDSCHED, 9e)
! ARM_CORE("arm1136jf-s",   arm1136jfs,	6J,	                         FL_LDSCHED | FL_VFPV2, 9e)
! ARM_CORE("arm1176jz-s",	  arm1176jzs,	6ZK,				 FL_LDSCHED, 9e)
! ARM_CORE("arm1176jzf-s",  arm1176jzfs,	6ZK,				 FL_LDSCHED | FL_VFPV2, 9e)
! ARM_CORE("mpcorenovfp",	  mpcorenovfp,	6K,				 FL_LDSCHED, 9e)
! ARM_CORE("mpcore",	  mpcore,	6K,				 FL_LDSCHED | FL_VFPV2, 9e)

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