On 17/12/13 10:40, James Greenhalgh wrote:
> 
> Hi,
> 
> This patch adds machinery to the driver to ensure that big.LITTLE
> style tuning names are rewritten before they are passed to the
> assembler. This reduces the coupling needed between GCC versions
> and assembler versions.
> 
> The rule is simple, we truncate the CPU name at the first '.'
> character we see.
> 
> Thus -mcpu=cortex-a15.cortex-a7 would be truncated to -mcpu=cortex-a15.
> 
> Bootstrapped on a ChromeBook and checked for an arm-none-eabi and
> an arm-none-linux-gnueabi build.
> 
> Thanks,
> James
> 
> ---
> gcc/
> 
> 2013-12-17  James Greenhalgh  <james.greenha...@arm.com>
> 
>       * common/config/arm/arm-common.c (arm_rewrite_selected_cpu): New.
>       (arm_rewrite_mcpu): Likewise.
>       * config/arm/arm-protos.h (arm_rewrite_selected_cpu): New.
>       * config/arm/arm.h (BIG_LITTLE_SPEC): New.
>       (BIG_LITTLE_SPEC_FUNCTIONS): Likewise.
>       (EXTRA_SPEC_FUNCTIONS): Include BIG_LITTLE_SPEC_FUNCTIONS.
>       (ASM_CPU_SPEC): Include BIG_LITTLE_SPEC.
>       * config/arm/arm.c (arm_file_start): Rewrite arm_selecetd_cpu values.
> 

OK.

R.


Reply via email to