summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-25 15:26:04 +0000
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-25 15:26:04 +0000
commit7f3a889846e4392c886abb3dcd4335d3a0d68148 (patch)
tree9bceb148c6f587d1ced8e39f8bc39593d26bf73c
parentcbe95cbfaf83afff90ae0ea3fac9ffff863acea1 (diff)
downloadppe42-gcc-7f3a889846e4392c886abb3dcd4335d3a0d68148.tar.gz
ppe42-gcc-7f3a889846e4392c886abb3dcd4335d3a0d68148.zip
* config/aarch64/aarch64.c (cortexa53_tuning): New struct.
* config/aarch64/aarch64-cores.def (cortex-a53): Use cortexa53 tuning struct. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205354 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/aarch64/aarch64-cores.def2
-rw-r--r--gcc/config/aarch64/aarch64.c9
3 files changed, 16 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d8996703591..5bddb6fbd30 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2013-11-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/aarch64/aarch64.c (cortexa53_tuning): New struct.
+ * config/aarch64/aarch64-cores.def (cortex-a53):
+ Use cortexa53 tuning struct.
+
2013-11-25 Andrew Macleod <amacleod@redhat.com>
PR bootstrap/59260
diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-cores.def
index 51c1ff803b0..b631dbed924 100644
--- a/gcc/config/aarch64/aarch64-cores.def
+++ b/gcc/config/aarch64/aarch64-cores.def
@@ -34,5 +34,5 @@
This list currently contains example CPUs that implement AArch64, and
therefore serves as a template for adding more CPUs in the future. */
-AARCH64_CORE("cortex-a53", cortexa53, 8, AARCH64_FL_FPSIMD, generic)
+AARCH64_CORE("cortex-a53", cortexa53, 8, AARCH64_FL_FPSIMD, cortexa53)
AARCH64_CORE("cortex-a57", cortexa15, 8, AARCH64_FL_FPSIMD, generic)
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index c85947a6cd8..b1b4eef81be 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -224,6 +224,15 @@ static const struct tune_params generic_tunings =
NAMED_PARAM (memmov_cost, 4)
};
+static const struct tune_params cortexa53_tunings =
+{
+ &cortexa53_extra_costs,
+ &generic_addrcost_table,
+ &generic_regmove_cost,
+ &generic_vector_cost,
+ NAMED_PARAM (memmov_cost, 4)
+};
+
/* A processor implementing AArch64. */
struct processor
{
OpenPOWER on IntegriCloud