bfin.c (expand_prologue_reg_save, [...]): Code to save and restore I/M/B/L regs and...
authorBernd Schmidt <bernd.schmidt@analog.com>
Tue, 25 Sep 2007 12:59:32 +0000 (12:59 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 25 Sep 2007 12:59:32 +0000 (12:59 +0000)
commitbf3f95816f81b9bbc73f01bb9591cab6f7dd59c3
tree545f5d3d1adea9facf28db08a70069214f49303d
parent1bde00421fc1d93e9a92ffe6cd0c221f4494fd33
bfin.c (expand_prologue_reg_save, [...]): Code to save and restore I/M/B/L regs and ASTAT moved here...

* config/bfin/bfin.c (expand_prologue_reg_save,
expand_epilogue_reg_restore): Code to save and restore I/M/B/L regs and
ASTAT moved here...
(expand_interrupt_handler_prologue, expand_interrupt_handler_epilogue):
... from here.  New argument ALL; callers changed.
(n_regs_saved_by_prologue): Count ASTAT for plain saveall functions.
(bfin_expand_prologue, bfin_expand_epilogue): Deal with functions that
have the "saveall" attribute.

From-SVN: r128762
gcc/ChangeLog
gcc/config/bfin/bfin.c