[ARM] Add -mcpu=cortex-a17.cortex-a7
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 28 Nov 2014 12:17:40 +0000 (12:17 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 28 Nov 2014 12:17:40 +0000 (12:17 +0000)
* 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
gcc/config/arm/arm-cores.def
gcc/config/arm/arm-tables.opt
gcc/config/arm/arm-tune.md
gcc/config/arm/bpabi.h
gcc/config/arm/t-aprofile

index 24f2f8ed726cb14b6ae526be77115b9a5bd173db..3c33c216ab5ea276f4695b60f3b783ffd53100b6 100644 (file)
@@ -1,3 +1,12 @@
+2014-11-28  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * 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  <kyrylo.tkachov@arm.com>
 
        * config/arm/arm.md (generic_sched): Specify cortexa17 in 'no' list.
index f8003ce94a7ef72ce1bf387e768bd9085149b150..423ee9e29b3b0f3c0634f9a9eab30d57bdbb5e61 100644 (file)
@@ -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)
index 9d8159face88468cac1a67e78e5486c18299fa1e..9b1886e9017c8668de0bb5d523fd9bfb85f7b429 100644 (file)
@@ -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)
 
index 7218542fc150b0e854670c4e008007e145304a5a..d300c51c4ccf094812d2a6cb50987698ee34489b 100644 (file)
@@ -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)")))
index 22a37ae8653f1e60ae306b992100a3b20b584d2a..aa93aa44b344e557ff45af687eecdf6c3b53c9cc 100644 (file)
@@ -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                         \
index 441a4b534b0e3c794848e509c171a204ddd5e2f8..60ac1b6dd79dac2245fbc85b55b963170b3eaf32 100644 (file)
@@ -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