[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
This commit is contained in:
Wilco Dijkstra 2015-05-01 13:09:25 +00:00 committed by Kyrylo Tkachov
parent 5e2a765bee
commit e8b9138291
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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. */