Re: [AArch64/GCC][5/N] Use register offset in 'cfun->machine->frame.reg_offset'

2014-07-23 Thread Marcus Shawcroft
On 22 July 2014 15:51, Jiong Wang wrote: > gcc/ > * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Use register > offset in > cfun->machine->frame.reg_offset. > (aarch64_save_or_restore_callee_save_registers): Likewise. OK and applied. /Marcus

[AArch64/GCC][5/N] Use register offset in 'cfun->machine->frame.reg_offset'

2014-07-22 Thread Jiong Wang
We should use offset calculated during frame layout instead of ad-hoc interative increment. This patch let the code fetch reg offsets from cfun->machine->frame.reg_offset. By this fix, FP/LR could be treated as normal register also. *no functional change* OK to install? thanks gcc/ * config