diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2016-11-08 13:45:52 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2016-11-08 13:45:52 +0000 |
commit | 249a3cad8a471d55f0ccd52c88d32706eb9a68ab (patch) | |
tree | 6da047b02f24d8b56c19d1fa18ed2fb7926a2561 /gcc | |
parent | a6ac871cdf8291c6360f006cca9035a37bbd842a (diff) | |
download | gcc-249a3cad8a471d55f0ccd52c88d32706eb9a68ab.zip gcc-249a3cad8a471d55f0ccd52c88d32706eb9a68ab.tar.gz gcc-249a3cad8a471d55f0ccd52c88d32706eb9a68ab.tar.bz2 |
[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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 12 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 18 |
2 files changed, 21 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b4169ed..bc84a42 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 1781de0..acf2c8a 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, |