This patch improves the readability of the prolog and epilog code by moving some...
authorWilco Dijkstra <wdijkstr@arm.com>
Thu, 28 Jul 2016 14:21:57 +0000 (14:21 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Thu, 28 Jul 2016 14:21:57 +0000 (14:21 +0000)
commit89ac681e18c3eace27e14bf03ff028bacd37e841
tree5450f51cdbccd150dbfbc2ce4c10be10216498bd
parent513d866d5b3b2b62fce9ad91fd032a02f17ed6eb
This patch improves the readability of the prolog and epilog code by moving some code into separate functions.

This patch improves the readability of the prolog and epilog code by moving
some code into separate functions.  There is no difference in generated code.

gcc/
* config/aarch64/aarch64.c (aarch64_pushwb_pair_reg): Rename.
(aarch64_push_reg): New function to push 1 or 2 registers.
(aarch64_pop_reg): New function to pop 1 or 2 registers.
(aarch64_expand_prologue): Use aarch64_push_regs.
(aarch64_expand_epilogue): Use aarch64_pop_regs.

From-SVN: r238818
gcc/ChangeLog
gcc/config/aarch64/aarch64.c