rx.c (push_regs): New function.
authorNick Clifton <nickc@redhat.com>
Thu, 28 May 2015 07:16:51 +0000 (07:16 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 28 May 2015 07:16:51 +0000 (07:16 +0000)
commit55ffa75632e635c049c238db332c20de1b3116c2
treef3a694ae8b01dca33cfbef5748c76cca1667f7fa
parent1a4b99c172b8a5485d84e24db16ccbd847a4b1b7
rx.c (push_regs): New function.

* config/rx/rx.c (push_regs): New function.  Extracts code from...
(rx_expand_prologue): ... here.  Use push_regs to push even small
spans of registers.
(pop_regs): New function.
(rx_expand_epilogue):  Use pop_regs to pop even small spans of
registers.

From-SVN: r223799
gcc/ChangeLog
gcc/config/rx/rx.c