aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2015-08-23 22:06:24 +0200
committerLinaro Code Review <review@review.linaro.org>2015-08-27 11:55:56 +0000
commit22662c6d4e490e5f57835d4a77701ab766dc9586 (patch)
tree63a0cd218db4ffa7f812dfc384b4e777cf9665ff
parent51faf82fd86cd5b385a81af8c222659c14a94f44 (diff)
gcc/
Backport from trunk r222678. 2015-05-01 Wilco Dijkstra <wdijkstr@arm.com> * gcc/config/arm/aarch-cost-tables.h (cortexa53_extra_costs): Make Cortex-A53 shift costs more accurate. Change-Id: I9396bc0aa360a47152bdd4adb05106a54b51fd7f
-rw-r--r--gcc/config/arm/aarch-cost-tables.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/arm/aarch-cost-tables.h b/gcc/config/arm/aarch-cost-tables.h
index 05e96a9f290..6bb8edea3ff 100644
--- a/gcc/config/arm/aarch-cost-tables.h
+++ b/gcc/config/arm/aarch-cost-tables.h
@@ -130,12 +130,12 @@ const struct cpu_cost_table cortexa53_extra_costs =
0, /* arith. */
0, /* logical. */
COSTS_N_INSNS (1), /* shift. */
- COSTS_N_INSNS (2), /* shift_reg. */
+ 0, /* shift_reg. */
COSTS_N_INSNS (1), /* arith_shift. */
- COSTS_N_INSNS (2), /* arith_shift_reg. */
+ COSTS_N_INSNS (1), /* arith_shift_reg. */
COSTS_N_INSNS (1), /* log_shift. */
- COSTS_N_INSNS (2), /* log_shift_reg. */
- 0, /* extend. */
+ COSTS_N_INSNS (1), /* log_shift_reg. */
+ COSTS_N_INSNS (1), /* extend. */
COSTS_N_INSNS (1), /* extend_arith. */
COSTS_N_INSNS (1), /* bfi. */
COSTS_N_INSNS (1), /* bfx. */