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]

Re: [arm] add tune_xscale flag


> At present, the "arm_is_xscale" flag controls both tuning and
> instruction set selection.  In Debian, we'd like to be able to use
> -march=armv3 -mtune=xscale, so as to get tolerable instruction
> scheduling but retain compatibility with older cores.  This patch adds a
> separate flag to make that work.
> 
> p.
> 
> 
> 2003-05-11  Philip Blundell  <philb@gnu.org>
> 
> 	* config/arm/arm.c (tune_xscale): New.
> 	(arm_override_options): Set it.
> 	(arm_adjust_cost): Use it in place of arm_is_xscale.
> 	(arm_gen_load_multiple): Likewise.
> 	(arm_gen_store_multiple): Likewise.
> 	* config/arm/arm.md (is_xscale): Likewise.
> 	* config/arm/arm.h (tune_xscale): Declare.

Please use "arm_tune_xscale" and "arm_arch_xscale".   Other than that, OK.

R.


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