diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2016-05-19 13:54:31 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2016-05-19 13:54:31 +0000 |
commit | f65970cfd092c36035f7a3c683707c2604bcd4a3 (patch) | |
tree | 3583ad117f5f60599f47e0fe5ed9302d1865c5d2 /gcc/config | |
parent | afb7243286fdf0ffdc965027e5d382604fe191f8 (diff) | |
download | gcc-f65970cfd092c36035f7a3c683707c2604bcd4a3.zip gcc-f65970cfd092c36035f7a3c683707c2604bcd4a3.tar.gz gcc-f65970cfd092c36035f7a3c683707c2604bcd4a3.tar.bz2 |
[ARM] Fix costing of sign-extending load in rtx costs
* config/arm/arm.c (arm_new_rtx_costs, SIGN_EXTEND case):
Don't add cost of inner memory when handling sign-extended
loads.
From-SVN: r236461
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index c3f74dc..12060ba 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -10762,8 +10762,6 @@ arm_new_rtx_costs (rtx x, enum rtx_code code, enum rtx_code outer_code, if ((arm_arch4 || GET_MODE (XEXP (x, 0)) == SImode) && MEM_P (XEXP (x, 0))) { - *cost = rtx_cost (XEXP (x, 0), VOIDmode, code, 0, speed_p); - if (mode == DImode) *cost += COSTS_N_INSNS (1); |