* config/arm/arm.c (arm_new_rtx_costs, case PLUS, MINUS):
Add cost of alu.arith in simple SImode case.
From-SVN: r217692
+2014-11-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/arm/arm.c (arm_new_rtx_costs, case PLUS, MINUS):
+ Add cost of alu.arith in simple SImode case.
+
2014-11-18 Jiong Wang <jiong.wang@arm.com>
* lra-eliminations.c (update_reg_eliminate): Relax gcc_assert for fixed
*cost += rtx_cost (XEXP (x, 1), code, 1, speed_p);
return true;
}
+ else if (speed_p)
+ *cost += extra_cost->alu.arith;
return false;
}
*cost += rtx_cost (XEXP (x, 0), PLUS, 0, speed_p);
return true;
}
+ else if (speed_p)
+ *cost += extra_cost->alu.arith;
+
return false;
}