Commit 17eb4921 by Ramana Radhakrishnan Committed by Ramana Radhakrishnan

Fix address cost for plus reg const_int.

2009-07-31  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* config/arm/arm.c (arm_arm_address_cost): Fix typo. 
	Remove dead code for MINUS.

From-SVN: r150309
parent 23865616
2009-07-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.c (arm_arm_address_cost): Fix typo.
Remove dead code for MINUS.
2009-07-31 Anthony Green <green@moxielogic.com>
* config/moxie/moxie.c (moxie_expand_prologue): Use $r5 instead of
......
......@@ -6329,9 +6329,9 @@ arm_arm_address_cost (rtx x)
if (c == MEM || c == LABEL_REF || c == SYMBOL_REF)
return 10;
if (c == PLUS || c == MINUS)
if (c == PLUS)
{
if (GET_CODE (XEXP (x, 0)) == CONST_INT)
if (GET_CODE (XEXP (x, 1)) == CONST_INT)
return 2;
if (ARITHMETIC_P (XEXP (x, 0)) || ARITHMETIC_P (XEXP (x, 1)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment