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

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

2023-02-03 Thread Fei Gao
Gentle ping. The patch I previously submitted: | Date: Wed, 30 Nov 2022 00:38:08 -0800 | Subject: [PATCH] RISC-V: optimize stack manipulation in save-restore | Message-ID: I split the patches as per Palmer's review comment. BR Fei >The stack that save-restore reserves is not well accumulated

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

2022-12-01 Thread Fei Gao
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: callt0,__riscv_save_4 addisp,sp,-64 ...