mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 19:31:06 +08:00
arm.c (arm_rtx_costs_1): Don't modify the costs of SET.
gcc/ * config/arm/arm.c (arm_rtx_costs_1): Don't modify the costs of SET. (arm_size_rtx_costs): Likewise. From-SVN: r177855
This commit is contained in:
parent
c55b374bd5
commit
b28e37f19c
@ -1,3 +1,8 @@
|
||||
2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
|
||||
|
||||
* config/arm/arm.c (arm_rtx_costs_1): Don't modify the costs of SET.
|
||||
(arm_size_rtx_costs): Likewise.
|
||||
|
||||
2011-08-18 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* tree.h (tree_int_cst_msb): Remove.
|
||||
|
@ -7399,6 +7399,9 @@ arm_rtx_costs_1 (rtx x, enum rtx_code outer, int* total, bool speed)
|
||||
*total = COSTS_N_INSNS (4);
|
||||
return true;
|
||||
|
||||
case SET:
|
||||
return false;
|
||||
|
||||
default:
|
||||
*total = COSTS_N_INSNS (4);
|
||||
return false;
|
||||
@ -7746,6 +7749,9 @@ arm_size_rtx_costs (rtx x, enum rtx_code code, enum rtx_code outer_code,
|
||||
*total = COSTS_N_INSNS (1) + 1;
|
||||
return true;
|
||||
|
||||
case SET:
|
||||
return false;
|
||||
|
||||
default:
|
||||
if (mode != VOIDmode)
|
||||
*total = COSTS_N_INSNS (ARM_NUM_REGS (mode));
|
||||
|
Loading…
x
Reference in New Issue
Block a user