On 17/12/13 10:40, James Greenhalgh wrote: > > Hi, > > A limitation in the ARM backend is that each core added to arm-cores.def > must provide a unique identifier to be used for tuning. This restricts > us when we want to share the same identifier between a number of cores. > > The machinery here is a bit messy, and we don't really make it any nicer > in this patch. But, this change does allow you to add core names which > use other tuning targets easily. > > This, for example allows us to wire up -mcpu=cortex-a15.cortex-a7 to > use the scheduler description for Cortex-A7 without requiring > modifications to the Cortex-A7 scheduler description. > > Bootstrapped in series and checked on arm-none-linux-gnueabi and > arm-none-eabi. > > OK? > > Thanks, > James > > --- > gcc/ > > 2013-12-17 James Greenhalgh <james.greenha...@arm.com> > > * config/arm/arm-cores.def: Add new column for TUNE_IDENT. > * config/arm/genopt.sh: Improve layout. > * config/arm/arm-tune.md: Regenerate. > * config/arm/arm-tables.opt: Regenerate. > * config/arm/arm-opts.h (ARM_CORE): Modify macro for TUNE_IDENT. > * config/arm/arm.c (ARM_CORE): Modify macro for TUNE_IDENT. > (arm_option_override): When a CPU is chosen, that should also > form the tune target. > * config/arm/arm.h (ARM_CORE): Modify macro for TUNE_IDENT. >
OK. R.