From 0f4fe89599663cf9759cda1ecb64f0d60733c0cc Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Fri, 28 Nov 2014 12:17:40 +0000 Subject: [PATCH] [ARM] Add -mcpu=cortex-a17.cortex-a7 * config/arm/arm-cores.def (cortex-a17.cortex-a7): New entry. * config/arm/arm-tables.opt: Regenerate. * config/arm/arm-tune.md: Regenerate. * config/arm/bpabi.h (BE8_LINK_SPEC): Add mcpu=cortex-a17.cortex-a7. * config/arm/t-aprofile: Add cortex-a17.cortex-a7 entry to MULTILIB_MATCHES. From-SVN: r218146 --- gcc/ChangeLog | 9 +++++++++ gcc/config/arm/arm-cores.def | 1 + gcc/config/arm/arm-tables.opt | 3 +++ gcc/config/arm/arm-tune.md | 4 ++-- gcc/config/arm/bpabi.h | 2 ++ gcc/config/arm/t-aprofile | 1 + 6 files changed, 18 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24f2f8ed726..3c33c216ab5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2014-11-28 Kyrylo Tkachov + + * config/arm/arm-cores.def (cortex-a17.cortex-a7): New entry. + * config/arm/arm-tables.opt: Regenerate. + * config/arm/arm-tune.md: Regenerate. + * config/arm/bpabi.h (BE8_LINK_SPEC): Add mcpu=cortex-a17.cortex-a7. + * config/arm/t-aprofile: Add cortex-a17.cortex-a7 entry to + MULTILIB_MATCHES. + 2014-11-28 Kyrylo Tkachov * config/arm/arm.md (generic_sched): Specify cortexa17 in 'no' list. diff --git a/gcc/config/arm/arm-cores.def b/gcc/config/arm/arm-cores.def index f8003ce94a7..423ee9e29b3 100644 --- a/gcc/config/arm/arm-cores.def +++ b/gcc/config/arm/arm-cores.def @@ -162,6 +162,7 @@ ARM_CORE("marvell-pj4", marvell_pj4, marvell_pj4, 7A, FL_LDSCHED, 9e) /* V7 big.LITTLE implementations */ ARM_CORE("cortex-a15.cortex-a7", cortexa15cortexa7, cortexa7, 7A, FL_LDSCHED | FL_THUMB_DIV | FL_ARM_DIV, cortex_a15) +ARM_CORE("cortex-a17.cortex-a7", cortexa17cortexa7, cortexa7, 7A, FL_LDSCHED | FL_THUMB_DIV | FL_ARM_DIV, cortex_a12) /* V8 Architecture Processors */ ARM_CORE("cortex-a53", cortexa53, cortexa53, 8A, FL_LDSCHED | FL_CRC32, cortex_a53) diff --git a/gcc/config/arm/arm-tables.opt b/gcc/config/arm/arm-tables.opt index 9d8159face8..9b1886e9017 100644 --- a/gcc/config/arm/arm-tables.opt +++ b/gcc/config/arm/arm-tables.opt @@ -300,6 +300,9 @@ Enum(processor_type) String(marvell-pj4) Value(marvell_pj4) EnumValue Enum(processor_type) String(cortex-a15.cortex-a7) Value(cortexa15cortexa7) +EnumValue +Enum(processor_type) String(cortex-a17.cortex-a7) Value(cortexa17cortexa7) + EnumValue Enum(processor_type) String(cortex-a53) Value(cortexa53) diff --git a/gcc/config/arm/arm-tune.md b/gcc/config/arm/arm-tune.md index 7218542fc15..d300c51c4cc 100644 --- a/gcc/config/arm/arm-tune.md +++ b/gcc/config/arm/arm-tune.md @@ -31,6 +31,6 @@ cortexa15,cortexa17,cortexr4,cortexr4f, cortexr5,cortexr7,cortexm7, cortexm4,cortexm3,marvell_pj4, - cortexa15cortexa7,cortexa53,cortexa57, - cortexa57cortexa53" + cortexa15cortexa7,cortexa17cortexa7,cortexa53, + cortexa57,cortexa57cortexa53" (const (symbol_ref "((enum attr_tune) arm_tune)"))) diff --git a/gcc/config/arm/bpabi.h b/gcc/config/arm/bpabi.h index 22a37ae8653..aa93aa44b34 100644 --- a/gcc/config/arm/bpabi.h +++ b/gcc/config/arm/bpabi.h @@ -66,6 +66,7 @@ |mcpu=cortex-a8|mcpu=cortex-a9|mcpu=cortex-a15 \ |mcpu=cortex-a12|mcpu=cortex-a17 \ |mcpu=cortex-a15.cortex-a7 \ + |mcpu=cortex-a17.cortex-a7 \ |mcpu=marvell-pj4 \ |mcpu=cortex-a53 \ |mcpu=cortex-a57 \ @@ -87,6 +88,7 @@ |mcpu=cortex-a8|mcpu=cortex-a9|mcpu=cortex-a15 \ |mcpu=cortex-a12|mcpu=cortex-a17 \ |mcpu=cortex-a15.cortex-a7 \ + |mcpu=cortex-a17.cortex-a7 \ |mcpu=cortex-a53 \ |mcpu=cortex-a57 \ |mcpu=cortex-a57.cortex-a53 \ diff --git a/gcc/config/arm/t-aprofile b/gcc/config/arm/t-aprofile index 441a4b534b0..60ac1b6dd79 100644 --- a/gcc/config/arm/t-aprofile +++ b/gcc/config/arm/t-aprofile @@ -85,6 +85,7 @@ MULTILIB_MATCHES += march?armv7ve=mcpu?cortex-a15 MULTILIB_MATCHES += march?armv7ve=mcpu?cortex-a12 MULTILIB_MATCHES += march?armv7ve=mcpu?cortex-a17 MULTILIB_MATCHES += march?armv7ve=mcpu?cortex-a15.cortex-a7 +MULTILIB_MATCHES += march?armv7ve=mcpu?cortex-a17.cortex-a7 MULTILIB_MATCHES += march?armv8-a=mcpu?cortex-a53 MULTILIB_MATCHES += march?armv8-a=mcpu?cortex-a57 MULTILIB_MATCHES += march?armv8-a=mcpu?cortex-a57.cortex-a53 -- 2.30.2