* config/arm/arm.c (arm_new_rtx_costs, SIGN_EXTEND case):
Don't add cost of inner memory when handling sign-extended
loads.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236461
138bc75d-0d04-0410-961f-
82ee72b054a4
+2016-05-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/arm/arm.c (arm_new_rtx_costs, SIGN_EXTEND case):
+ Don't add cost of inner memory when handling sign-extended
+ loads.
+
2016-05-19 Ilya Enkovich <ilya.enkovich@intel.com>
PR rtl-optimization/71148
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);