Re: [AArch64/GCC][14/N] Optimize epilogue when there is frame pointer

2014-07-24 Thread Marcus Shawcroft
On 22 July 2014 15:52, Jiong Wang jiong.w...@arm.com wrote: gcc/ * config/aarch64/aarch64.c (aarch64_expand_epilogue): Don't subtract outgoing area size when restore stack_pointer_rtx. gcc/testsuite/ * gcc.target/aarch64/test_frame_12.c: Match optimized instruction sequences. OK and

Re: [AArch64/GCC][14/N] Optimize epilogue when there is frame pointer

2014-07-24 Thread Richard Earnshaw
On 22/07/14 15:52, Jiong Wang wrote: currently we are generating sub-optimal epilogue when there is frame pointer and there is outgoing area. take gcc.target/aarch64/test_frame_12.c for example: the epilogue for test_12 is: .L12: sub sp, x29, #16

Re: [AArch64/GCC][14/N] Optimize epilogue when there is frame pointer

2014-07-24 Thread Jiong Wang
On 24/07/14 13:25, Richard Earnshaw wrote: On 22/07/14 15:52, Jiong Wang wrote: currently we are generating sub-optimal epilogue when there is frame pointer and there is outgoing area. take gcc.target/aarch64/test_frame_12.c for example: the epilogue for test_12 is:

[AArch64/GCC][14/N] Optimize epilogue when there is frame pointer

2014-07-22 Thread Jiong Wang
currently we are generating sub-optimal epilogue when there is frame pointer and there is outgoing area. take gcc.target/aarch64/test_frame_12.c for example: the epilogue for test_12 is: .L12: sub sp, x29, #16 ldp x29, x30, [sp, 16] add sp, sp,