[ARM][1/2] Use generic_extra_costs in all remaining tuning structs
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 8 Nov 2016 13:45:52 +0000 (13:45 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 8 Nov 2016 13:45:52 +0000 (13:45 +0000)
* config/arm/arm.c (arm_slowmul_tune): Use generic_extra_costs.
(arm_fastmul_tune): Likewise.
(arm_strongarm_tune): Likewise.
(arm_xscale_tune): Likewise.
(arm_9e_tune): Likewise.
(arm_marvell_pj4_tune): Likewise.
(arm_v6t2_tune): Likewise.
(arm_v6m_tune): Likewise.
(arm_fa726te_tune): Likewise.

From-SVN: r241965

gcc/ChangeLog
gcc/config/arm/arm.c

index b4169edded38cb2ab4e437af7ec90f39115c002d..bc84a42facba74bd941b71b1d5662d868f489db7 100644 (file)
@@ -1,3 +1,15 @@
+2016-11-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/arm/arm.c (arm_slowmul_tune): Use generic_extra_costs.
+       (arm_fastmul_tune): Likewise.
+       (arm_strongarm_tune): Likewise.
+       (arm_xscale_tune): Likewise.
+       (arm_9e_tune): Likewise.
+       (arm_marvell_pj4_tune): Likewise.
+       (arm_v6t2_tune): Likewise.
+       (arm_v6m_tune): Likewise.
+       (arm_fa726te_tune): Likewise.
+
 2016-11-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        PR tree-optimization/78234
index 1781de026276228412c714d3115e5bf1b3825553..acf2c8aea9b0cddafa7fa237070a012fa065d3ca 100644 (file)
@@ -1704,7 +1704,7 @@ const struct cpu_cost_table v7m_extra_costs =
 const struct tune_params arm_slowmul_tune =
 {
   arm_slowmul_rtx_costs,
-  NULL,                                        /* Insn extra costs.  */
+  &generic_extra_costs,                        /* Insn extra costs.  */
   NULL,                                        /* Sched adj cost.  */
   arm_default_branch_cost,
   &arm_default_vec_cost,
@@ -1727,7 +1727,7 @@ const struct tune_params arm_slowmul_tune =
 const struct tune_params arm_fastmul_tune =
 {
   arm_fastmul_rtx_costs,
-  NULL,                                        /* Insn extra costs.  */
+  &generic_extra_costs,                        /* Insn extra costs.  */
   NULL,                                        /* Sched adj cost.  */
   arm_default_branch_cost,
   &arm_default_vec_cost,
@@ -1753,7 +1753,7 @@ const struct tune_params arm_fastmul_tune =
 const struct tune_params arm_strongarm_tune =
 {
   arm_fastmul_rtx_costs,
-  NULL,                                        /* Insn extra costs.  */
+  &generic_extra_costs,                        /* Insn extra costs.  */
   NULL,                                        /* Sched adj cost.  */
   arm_default_branch_cost,
   &arm_default_vec_cost,
@@ -1776,7 +1776,7 @@ const struct tune_params arm_strongarm_tune =
 const struct tune_params arm_xscale_tune =
 {
   arm_xscale_rtx_costs,
-  NULL,                                        /* Insn extra costs.  */
+  &generic_extra_costs,                        /* Insn extra costs.  */
   xscale_sched_adjust_cost,
   arm_default_branch_cost,
   &arm_default_vec_cost,
@@ -1799,7 +1799,7 @@ const struct tune_params arm_xscale_tune =
 const struct tune_params arm_9e_tune =
 {
   arm_9e_rtx_costs,
-  NULL,                                        /* Insn extra costs.  */
+  &generic_extra_costs,                        /* Insn extra costs.  */
   NULL,                                        /* Sched adj cost.  */
   arm_default_branch_cost,
   &arm_default_vec_cost,
@@ -1822,7 +1822,7 @@ const struct tune_params arm_9e_tune =
 const struct tune_params arm_marvell_pj4_tune =
 {
   arm_9e_rtx_costs,
-  NULL,                                        /* Insn extra costs.  */
+  &generic_extra_costs,                        /* Insn extra costs.  */
   NULL,                                        /* Sched adj cost.  */
   arm_default_branch_cost,
   &arm_default_vec_cost,
@@ -1845,7 +1845,7 @@ const struct tune_params arm_marvell_pj4_tune =
 const struct tune_params arm_v6t2_tune =
 {
   arm_9e_rtx_costs,
-  NULL,                                        /* Insn extra costs.  */
+  &generic_extra_costs,                        /* Insn extra costs.  */
   NULL,                                        /* Sched adj cost.  */
   arm_default_branch_cost,
   &arm_default_vec_cost,
@@ -2253,7 +2253,7 @@ const struct tune_params arm_cortex_m7_tune =
 const struct tune_params arm_v6m_tune =
 {
   arm_9e_rtx_costs,
-  NULL,                                        /* Insn extra costs.  */
+  &generic_extra_costs,                        /* Insn extra costs.  */
   NULL,                                        /* Sched adj cost.  */
   arm_default_branch_cost,
   &arm_default_vec_cost,                        /* Vectorizer costs.  */
@@ -2276,7 +2276,7 @@ const struct tune_params arm_v6m_tune =
 const struct tune_params arm_fa726te_tune =
 {
   arm_9e_rtx_costs,
-  NULL,                                        /* Insn extra costs.  */
+  &generic_extra_costs,                                /* Insn extra costs.  */
   fa726te_sched_adjust_cost,
   arm_default_branch_cost,
   &arm_default_vec_cost,