Re: [PATCH 2/3] RISC-V: optimize stack manipulation in save-restore

2023-04-17 Thread Jeff Law via Gcc-patches
On 12/1/22 03:03, Fei Gao wrote: The stack that save-restore reserves is not well accumulated in stack allocation and deallocation. This patch allows less instructions to be used in stack allocation and deallocation if save-restore enabled. before patch: bar: call t0,__riscv_s

Re: [PATCH 2/3] RISC-V: optimize stack manipulation in save-restore

2023-04-16 Thread Jeff Law via Gcc-patches
On 12/1/22 03:03, Fei Gao wrote: The stack that save-restore reserves is not well accumulated in stack allocation and deallocation. This patch allows less instructions to be used in stack allocation and deallocation if save-restore enabled. Haha! I should have read the whole series before c