Commit e63d4106 by Richard Earnshaw Committed by Richard Earnshaw

re PR target/10242 ([ARM] subsequent use of plus and minus operators could be improved)

	PR target/10242
	* arm.md (arm_addsi3): Don't try to split an add with an
	eliminable register until after reload has completed.

From-SVN: r148156
parent 0c40d234
2009-06-04 Richard Earnshaw <rearnsha@arm.com>
PR target/10242
* arm.md (arm_addsi3): Don't try to split an add with an
eliminable register until after reload has completed.
2009-06-03 Ian Lance Taylor <iant@google.com>
* dummy-checksum.c (executable_checksum): Use EXPORTED_CONST.
......@@ -225,7 +231,7 @@
* arm.c (arm_get_frame_offsets): Prefer using r3 for padding a
push/pop multiple to 8-byte alignment.
2009-06-01 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (queued_cfa_restores): New static variable.
......
......@@ -620,10 +620,11 @@
sub%?\\t%0, %1, #%n2
sub%?\\t%0, %1, #%n2
#"
"TARGET_32BIT &&
GET_CODE (operands[2]) == CONST_INT
"TARGET_32BIT
&& GET_CODE (operands[2]) == CONST_INT
&& !(const_ok_for_arm (INTVAL (operands[2]))
|| const_ok_for_arm (-INTVAL (operands[2])))"
|| const_ok_for_arm (-INTVAL (operands[2])))
&& (reload_completed || !arm_eliminable_register (operands[1]))"
[(clobber (const_int 0))]
"
arm_split_constant (PLUS, SImode, curr_insn,
......
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