From: Wilco Dijkstra Date: Fri, 1 May 2015 13:09:25 +0000 (+0000) Subject: [AArch64] Fix Cortex-A53 shift costs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8b9138291b5070bb7740339e34e8b54cbcc879a;p=gcc.git [AArch64] Fix Cortex-A53 shift costs On behalf of Wilco Dijkstra 2015-05-01 Wilco Dijkstra * gcc/config/arm/aarch-cost-tables.h (cortexa53_extra_costs): Make Cortex-A53 shift costs more accurate. From-SVN: r222678 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71ed72c0bcb..9869d0a2e7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-01 Wilco Dijkstra + + * gcc/config/arm/aarch-cost-tables.h (cortexa53_extra_costs): + Make Cortex-A53 shift costs more accurate. + 2015-05-01 Kyrylo Tkachov * 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 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. */