This patch improves the readability of the prolog and epilog code by moving
commit4d73e6c75bd22ea7a12e2afb8eeca9ac78674437
authorwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2016 14:21:57 +0000 (28 14:21 +0000)
committerwilco <wilco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2016 14:21:57 +0000 (28 14:21 +0000)
tree5450f51cdbccd150dbfbc2ce4c10be10216498bd
parentf339cf78c71449d27de48dc40e00f8902bc9f97d
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.

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