mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-04 05:00:30 +08:00
* mips.c (epilogue_reg_mentioned_p): Delete unused function. (mips_epilogue_delay_slots): Likewise. (function_epilogue): Greatly simplify. (mips_expand_epilogue): If we have a null prologue/epilogue, then use a normal return insn. Emit blockage insns before stack pointer adjustments. (mips_can_use_return_insn): Renamed from simple_epilogue_p. All callers changed. Do not use return insns if $31 is live in the function or if generating profiling information. * mips.h (DELAY_SLOTS_FOR_EPILOGUE): Delete. (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. * mips.md (return): Remove expander and change the pattern to look like a standard "return" insn. (return_internal): Show use of $31 explictly. (epilogue expander): Enable. From-SVN: r14412
Description
No description provided
Languages
C++
31.9%
C
31.3%
Ada
12%
D
6.5%
Go
6.4%
Other
11.5%