* config/rl78/rl78.c (rl78_expand_prologue): In G10 mode push the
commit90f06e32c5d037aa48e9b88f4d4334e1a10c13ef
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jan 2015 11:37:08 +0000 (27 11:37 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jan 2015 11:37:08 +0000 (27 11:37 +0000)
tree2aeda64f12a06169a583feb4a026145ea8d20aa7
parent45e05b5aa4a52336dca04685891f9331118c3648
* config/rl78/rl78.c (rl78_expand_prologue): In G10 mode push the
BC, DE and HL registers directly, not via AX.
When decrementing the stack pointer by a large amount, transfer SP
into AX and perform the subtraction there.
(rl78_expand_epilogue): Perform the inverse of the above
enhancements.

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