]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64.c (cortexa53_tuning): New struct.
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 25 Nov 2013 15:26:04 +0000 (15:26 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 25 Nov 2013 15:26:04 +0000 (15:26 +0000)
* config/aarch64/aarch64.c (cortexa53_tuning): New struct.
* config/aarch64/aarch64-cores.def (cortex-a53):
Use cortexa53 tuning struct.

From-SVN: r205354

gcc/ChangeLog
gcc/config/aarch64/aarch64-cores.def
gcc/config/aarch64/aarch64.c

index d89967035913907eb2a9674951c367f516567bcc..5bddb6fbd301ba77059fddedbda95233438bf5b7 100644 (file)
@@ -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
index 51c1ff803b0ad82ca8d1f313ad6628a0ce728726..b631dbed924648448230105b13618b97b47173a0 100644 (file)
@@ -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)
index c85947a6cd81b4e0d515fd750a70914dd31be7ec..b1b4eef81be79fb2a9c1c516b3c2dd99638c1b6e 100644 (file)
@@ -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
 {