aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>2012-02-27 11:26:49 +0000
committerMatthew Gretton-Dann <mgretton@gcc.gnu.org>2012-02-27 11:26:49 +0000
commitd2d6bcce98d1960d52d7dbcb5344df824b07ecce (patch)
treecd5e6ccbc0ee4d1126277061399863076ccd0198
parenta0b8b1b736253f14044ba9d87cb435426915a90b (diff)
downloadgcc-d2d6bcce98d1960d52d7dbcb5344df824b07ecce.zip
gcc-d2d6bcce98d1960d52d7dbcb5344df824b07ecce.tar.gz
gcc-d2d6bcce98d1960d52d7dbcb5344df824b07ecce.tar.bz2
revert: arm-cores.def (cortex-a15): Use cortex_a15_tune for tuning parameters.
Revert: 2012-01-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * gcc/config/arm/arm-cores.def (cortex-a15): Use cortex_a15_tune for tuning parameters. * gcc/config/arm/arm.c (arm_cortex_a15_tune): New static variable. From-SVN: r184596
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/arm/arm-cores.def2
-rw-r--r--gcc/config/arm/arm.c11
3 files changed, 9 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fdd225c..5917493 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2012-02-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+
+ Revert:
+ 2012-01-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+ * config/arm/arm-cores.def (cortex-a15): Use cortex_a15_tune for
+ tuning parameters.
+ * config/arm/arm.c (arm_cortex_a15_tune): New static variable.
+
2012-02-27 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/sh.h: Delete dead GO_IF_LEGITIMATE_INDEX macro.
diff --git a/gcc/config/arm/arm-cores.def b/gcc/config/arm/arm-cores.def
index b0bd172..80609e0 100644
--- a/gcc/config/arm/arm-cores.def
+++ b/gcc/config/arm/arm-cores.def
@@ -129,7 +129,7 @@ ARM_CORE("cortex-a5", cortexa5, 7A, FL_LDSCHED, cortex_a5)
ARM_CORE("cortex-a7", cortexa7, 7A, FL_LDSCHED | FL_THUMB_DIV | FL_ARM_DIV, cortex)
ARM_CORE("cortex-a8", cortexa8, 7A, FL_LDSCHED, cortex)
ARM_CORE("cortex-a9", cortexa9, 7A, FL_LDSCHED, cortex_a9)
-ARM_CORE("cortex-a15", cortexa15, 7A, FL_LDSCHED | FL_THUMB_DIV | FL_ARM_DIV, cortex_a15)
+ARM_CORE("cortex-a15", cortexa15, 7A, FL_LDSCHED | FL_THUMB_DIV | FL_ARM_DIV, cortex)
ARM_CORE("cortex-r4", cortexr4, 7R, FL_LDSCHED, cortex)
ARM_CORE("cortex-r4f", cortexr4f, 7R, FL_LDSCHED, cortex)
ARM_CORE("cortex-r5", cortexr5, 7R, FL_LDSCHED | FL_ARM_DIV, cortex)
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 7f0dc6b..b58877b 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -968,17 +968,6 @@ const struct tune_params arm_cortex_a9_tune =
arm_default_branch_cost
};
-const struct tune_params arm_cortex_a15_tune =
-{
- arm_9e_rtx_costs,
- NULL,
- 1, /* Constant limit. */
- 1, /* Max cond insns. */
- ARM_PREFETCH_NOT_BENEFICIAL, /* TODO: Calculate correct values. */
- false, /* Prefer constant pool. */
- arm_cortex_a5_branch_cost
-};
-
const struct tune_params arm_fa726te_tune =
{
arm_9e_rtx_costs,