From 1200ca22d0ab3a0bc0eeee87ca9f68b0d2c7264e Mon Sep 17 00:00:00 2001 From: James Greenhalgh Date: Mon, 26 Jan 2015 09:17:25 +0000 Subject: [PATCH] [ARM] Wire up the new scheduler description for the ARM Cortex-A57 processor * config/arm/arm-cores.def (cortex-a57): Use the new Cortex-A57 pipeline model. config/arm/arm.md: Include the new Cortex-A57 model. (generic_sched): Don't use generic_sched when tuning for Cortex-A57. From-SVN: r220103 --- gcc/ChangeLog | 8 ++++++++ gcc/config/arm/arm-cores.def | 2 +- gcc/config/arm/arm.md | 5 +++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f35e3c70144..6aace0376b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2014-01-25 James Greenhalgh + + * config/arm/arm-cores.def (cortex-a57): Use the new Cortex-A57 + pipeline model. + config/arm/arm.md: Include the new Cortex-A57 model. + (generic_sched): Don't use generic_sched when tuning for + Cortex-A57. + 2015-01-25 Allan Sandfeld Jensen Uros Bizjak diff --git a/gcc/config/arm/arm-cores.def b/gcc/config/arm/arm-cores.def index fa13eb9d916..f24fefd2a80 100644 --- a/gcc/config/arm/arm-cores.def +++ b/gcc/config/arm/arm-cores.def @@ -166,7 +166,7 @@ ARM_CORE("cortex-a17.cortex-a7", cortexa17cortexa7, cortexa7, 7A, FL_LDSCHED | /* V8 Architecture Processors */ ARM_CORE("cortex-a53", cortexa53, cortexa53, 8A, FL_LDSCHED | FL_CRC32, cortex_a53) -ARM_CORE("cortex-a57", cortexa57, cortexa15, 8A, FL_LDSCHED | FL_CRC32, cortex_a57) +ARM_CORE("cortex-a57", cortexa57, cortexa57, 8A, FL_LDSCHED | FL_CRC32, cortex_a57) ARM_CORE("xgene1", xgene1, xgene1, 8A, FL_LDSCHED, xgene1) /* V8 big.LITTLE implementations */ diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index c88e3f1afd0..c13e9b223e3 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -372,8 +372,8 @@ arm926ejs,arm1020e,arm1026ejs,arm1136js,\ arm1136jfs,cortexa5,cortexa7,cortexa8,\ cortexa9,cortexa12,cortexa15,cortexa17,\ - cortexa53,cortexm4,cortexm7,marvell_pj4,\ - xgene1") + cortexa53,cortexa57,cortexm4,cortexm7,\ + marvell_pj4,xgene1") (eq_attr "tune_cortexr4" "yes")) (const_string "no") (const_string "yes")))) @@ -406,6 +406,7 @@ (include "cortex-a15.md") (include "cortex-a17.md") (include "cortex-a53.md") +(include "cortex-a57.md") (include "cortex-r4.md") (include "cortex-r4f.md") (include "cortex-m7.md") -- 2.30.2