Re: [PATCH 1/4] aarch64: Improve epilogue unwind info

2014-09-03 Thread Marcus Shawcroft
On 22 August 2014 23:05, Richard Henderson wrote: > Delay cfi restore opcodes until the stack frame is deallocated. > This reduces the number of cfi advance opcodes required. > > We perform a similar optimization in the x86_64 epilogue. > > > * config/aarch64/aarch64.c (aarch64_popwb_singl

Re: [PATCH 1/4] aarch64: Improve epilogue unwind info

2014-08-28 Thread Richard Earnshaw
On 28/08/14 13:36, Jiong Wang wrote: > I am curious about why "dwarf2out_frame_debug_expr" only handle > PRE/POST_MODIFY on dest > while no handling on src ? > > for example the following rule: > (set reg (mem_post_modify sp offset)) > Probably because dwarf2out was originally written to han

Re: [PATCH 1/4] aarch64: Improve epilogue unwind info

2014-08-28 Thread Jiong Wang
On 26/08/14 14:37, Jiong Wang wrote: thanks, verified no regression on aarch64-none-elf bare-metal check-gcc/check-gdb. -- Jiong On 22/08/14 23:05, Richard Henderson wrote: Delay cfi restore opcodes until the stack frame is deallocated. This reduces the number of cfi advance opcodes required.

Re: [PATCH 1/4] aarch64: Improve epilogue unwind info

2014-08-26 Thread Jiong Wang
thanks, verified no regression on aarch64-none-elf bare-metal check-gcc/check-gdb. -- Jiong On 22/08/14 23:05, Richard Henderson wrote: Delay cfi restore opcodes until the stack frame is deallocated. This reduces the number of cfi advance opcodes required. We perform a similar optimization in

[PATCH 1/4] aarch64: Improve epilogue unwind info

2014-08-22 Thread Richard Henderson
Delay cfi restore opcodes until the stack frame is deallocated. This reduces the number of cfi advance opcodes required. We perform a similar optimization in the x86_64 epilogue. * config/aarch64/aarch64.c (aarch64_popwb_single_reg): Remove. (aarch64_popwb_pair_reg): Remove.