Re: [AArch64/GCC][8/N] Refactor code out into 'aarch64_next_callee_save'

2014-07-23 Thread Marcus Shawcroft
On 22 July 2014 15:51, Jiong Wang wrote: > gcc/ > * config/aarch64/aarch64.c (aarch64_next_callee_save): New function. > (aarch64_save_or_restore_fprs): Use aarch64_next_callee_save. > (aarch64_save_or_restore_callee_save_registers): Likewise. OK and applied. /Marcus

[AArch64/GCC][8/N] Refactor code out into 'aarch64_next_callee_save'

2014-07-22 Thread Jiong Wang
This patch refactor the inner loop out into "aarch64_next_callee_save", and simplify the code logic and reduce indent. *no functional change* ok to install? thanks. gcc/ * config/aarch64/aarch64.c (aarch64_next_callee_save): New function. (aarch64_save_or_restore_fprs): Use aarch64_next_ca