OSDN Git Service

* config/bfin/bfin.c (must_save_p): New function, mostly broken out of
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 15:46:41 +0000 (15:46 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 15:46:41 +0000 (15:46 +0000)
commit29b085dceb7e0f18dc6dffec9ae5de26d69fd8ea
treecd4b55c7c35130b7fef9f78514d4c0bb2f730205
parentda01ad1e03201f4087e67aa91a3e989e018d26e2
* config/bfin/bfin.c (must_save_p): New function, mostly broken out of
n_dregs_to_save and n_pregs_to_save.
(n_pregs_to_save, n_dregs_to_save): Use it.  New argument CONSECUTIVE;
all callers changed.
(expand_prologue_reg_save, expand_epilogue_reg_restore): Enhance to be
able to save single D/P registers that aren't saved by the push/pop
multiple insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130292 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/bfin/bfin.c