aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2015-05-01 13:09:25 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2015-05-01 13:09:25 +0000
commite8b9138291b5070bb7740339e34e8b54cbcc879a (patch)
tree4660d32120046226964f2d91248ecbd1ebd96b8c
parent5e2a765beeea16ed8250e33de74e6907c5bd5994 (diff)
downloadgcc-e8b9138291b5070bb7740339e34e8b54cbcc879a.zip
gcc-e8b9138291b5070bb7740339e34e8b54cbcc879a.tar.gz
gcc-e8b9138291b5070bb7740339e34e8b54cbcc879a.tar.bz2
[AArch64] Fix Cortex-A53 shift costs
On behalf of Wilco Dijkstra 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. From-SVN: r222678
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/aarch-cost-tables.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 71ed72c..9869d0a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2015-05-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.c (aarch64_rtx_costs): Handle FLOAT and
diff --git a/gcc/config/arm/aarch-cost-tables.h b/gcc/config/arm/aarch-cost-tables.h
index 05e96a9..6bb8ede 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. */