[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 b4169ed..bc84a42 100644 (file)
@@ -1,5 +1,17 @@
 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
        * gimple-ssa-store-merging.c (clear_bit_region): Fix off-by-one error
        in start != 0 case.
index 1781de0..acf2c8a 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,