From: Kyrylo Tkachov Date: Tue, 8 Nov 2016 13:45:52 +0000 (+0000) Subject: [ARM][1/2] Use generic_extra_costs in all remaining tuning structs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=249a3cad8a471d55f0ccd52c88d32706eb9a68ab;p=gcc.git [ARM][1/2] Use generic_extra_costs in all remaining tuning structs * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b4169edded3..bc84a42facb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2016-11-08 Kyrylo Tkachov + + * 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 PR tree-optimization/78234 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 1781de02627..acf2c8aea9b 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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,