Hi, This patch wires up support for -mcpu=cortex-a57.cortex-a53.
Tested on aarch64-none-elf with no regressions. OK? --- 2013-12-18 James Greenhalgh <james.greenha...@arm.com> * config/aarch64/aarch64-cores.def: Add support for -mcpu=cortex-a57.cortex-a53. * config/aarch64/aarch64-tune.md: Regenerate. * doc/invoke.texi: Document -mcpu=cortex-a57.cortex-a53.
diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-cores.def index 1b4a49f..430cc56 100644 --- a/gcc/config/aarch64/aarch64-cores.def +++ b/gcc/config/aarch64/aarch64-cores.def @@ -36,3 +36,7 @@ AARCH64_CORE("cortex-a53", cortexa53, cortexa53, 8, AARCH64_FL_FPSIMD, cortexa53) AARCH64_CORE("cortex-a57", cortexa15, cortexa15, 8, AARCH64_FL_FPSIMD, generic) + +/* V8 big.LITTLE implementations. */ + +AARCH64_CORE("cortex-a57.cortex-a53", cortexa57cortexa53, cortexa53, 8, AARCH64_FL_FPSIMD, generic) diff --git a/gcc/config/aarch64/aarch64-tune.md b/gcc/config/aarch64/aarch64-tune.md index 84081d1ba57e306398e4449e55bf4c4dadf2e391..b7e40e0b5d13842ba5db02b41c9d17a2e626d916 100644 --- a/gcc/config/aarch64/aarch64-tune.md +++ b/gcc/config/aarch64/aarch64-tune.md @@ -1,5 +1,5 @@ ;; -*- buffer-read-only: t -*- ;; Generated automatically by gentune.sh from aarch64-cores.def (define_attr "tune" - "cortexa53,cortexa15" + "cortexa53,cortexa15,cortexa57cortexa53" (const (symbol_ref "((enum attr_tune) aarch64_tune)"))) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b102e13..86eafa7 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -11326,6 +11326,9 @@ possible values for @var{cpu} are @samp{generic}, @samp{cortex-a53}, @samp{cortex-a57}. The possible values for @var{feature} are documented in the sub-section below. +Additionally, this option can specify that the target is a big.LITTLE system. +The only possible value is @samp{cortex-a57.cortex-a53}. + Where conflicting feature modifiers are specified, the right-most feature is used.