Commit 367075fe by Greta Yorsh Committed by Greta Yorsh

2013-04-17 Greta Yorsh <Greta.Yorsh at arm.com>

	* config/arm/arm.c (use_return_insn): Return 0 for targets that
	can benefit from using a sequence of LDRD instructions in epilogue
	instead of a single LDM instruction.

From-SVN: r198029
parent 6d10a203
2013-04-17 Greta Yorsh <Greta.Yorsh at arm.com>
* config/arm/arm.c (use_return_insn): Return 0 for targets that
can benefit from using a sequence of LDRD instructions in epilogue
instead of a single LDM instruction.
2013-04-17 Manuel López-Ibáñez <manu@gcc.gnu.org> 2013-04-17 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR 45688 PR 45688
......
...@@ -2412,6 +2412,10 @@ use_return_insn (int iscond, rtx sibling) ...@@ -2412,6 +2412,10 @@ use_return_insn (int iscond, rtx sibling)
if (IS_INTERRUPT (func_type) && (frame_pointer_needed || TARGET_THUMB)) if (IS_INTERRUPT (func_type) && (frame_pointer_needed || TARGET_THUMB))
return 0; return 0;
if (TARGET_LDRD && current_tune->prefer_ldrd_strd
&& !optimize_function_for_size_p (cfun))
return 0;
offsets = arm_get_frame_offsets (); offsets = arm_get_frame_offsets ();
stack_adjust = offsets->outgoing_args - offsets->saved_regs; stack_adjust = offsets->outgoing_args - offsets->saved_regs;
......
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