mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro.
authorRichard Sandiford <rsandifo@redhat.com>
Tue, 7 Oct 2003 06:38:15 +0000 (06:38 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 7 Oct 2003 06:38:15 +0000 (06:38 +0000)
commitbe7630230540a61c7e9db3d922acc6680e89e7d2
tree617a7d41caa13c770aa91f143e1fdfc8cdcf91ac
parentaaa2154200561722a98504ce6f4ddd71dc76295a
mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro.

* config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): New macro.
(mips_save_restore_fn): New typedef.
(mips_add_large_offset_to_sp, mips_emit_frame_related_store): Remove.
(mips_set_frame_expr, mips_frame_set): Move above prologue code.
(save_restore_insns): Remove, replacing with...
(mips_save_restore_reg, mips_for_each_saved_reg): ...these new fns.
(mips_save_reg, mips_restore_reg): New function.
(mips_expand_prologue, mips_expand_epilogue): Rework.
* config/mips/mips.h (MIPS_TEMP1_REGNUM, MIPS_TEMP2_REGNUM): Remove.
(MIPS_PROLOGUE_TEMP_REGNUM, MIPS_EPILOGUE_TEMP_REGNUM): New macros.
(MIPS_PROLOGUE_TEMP, MIPS_EPILOGUE_TEMP): New macros.

From-SVN: r72182
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h