rs6000.c (rs6000_make_savres_rtx): Delete unneeded declaration.
commitd44b26bdf402498112c770368f75529847d13067
authorAlan Modra <amodra@gmail.com>
Wed, 26 Oct 2011 11:59:41 +0000 (26 22:29 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 26 Oct 2011 11:59:41 +0000 (26 22:29 +1030)
tree8e10aedbe360067edf2b2caf5c4b4bdb4089f568
parent4559db79d8d4d34a30c578260094efd430489f17
rs6000.c (rs6000_make_savres_rtx): Delete unneeded declaration.

* config/rs6000/rs6000.c (rs6000_make_savres_rtx): Delete unneeded
declaration.
(rs6000_emit_stack_reset): Only return insn emitted when it adjusts sp.
(rs6000_make_savres_rtx): Rename to rs6000_emit_savres_rtx.  Use
simple_return in pattern, emit instruction, and set jump_label.
(rs6000_emit_prologue): Update for rs6000_emit_savres_rtx.  Use
simple_return rather than return.
(emit_cfa_restores): New function.
(rs6000_emit_epilogue): Emit cfa_restores when flag_shrink_wrap.
Add missing cfa_restores for SAVE_WORLD.  Add missing LR cfa_restore
when using out-of-line gpr restore.  Add missing LR and FP regs
cfa_restores for out-of-line fpr restore.  Consolidate code setting
up cfa_restores.  Formatting.  Use LR_REGNO define.
(rs6000_output_mi_thunk): Use simple_return rather than return.
* config/rs6000/rs6000.md (sibcall*, sibcall_value*): Likewise.
(return_internal*): Likewise.
(any_return, return_pred, return_str): New iterators.
(return, conditional return insns): Provide both return and
simple_return variants.
* config/rs6000/rs6000.h (EARLY_R12, LATE_R12): Define.
(REG_ALLOC_ORDER): Move r12 before call-saved regs when FIXED_R13.
Move r11 and r0 later to suit shrink-wrapping.

From-SVN: r180522
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md