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: <gao...@eswincomputing.com>
I split the patches as per Palmer's review comment. BR Fei On 2022-12-01 18:03 Fei Gao <gao...@eswincomputing.com> wrote: > >The patches allow less instructions to be used in stack allocation >and deallocation if save-restore enabled, and also make the stack >manipulation codes more readable. > >Fei Gao (3): > RISC-V: add a new parameter in riscv_first_stack_step. > RISC-V: optimize stack manipulation in save-restore > RISC-V: make the stack manipulation codes more readable. > > gcc/config/riscv/riscv.cc | 105 +++++++++--------- > .../gcc.target/riscv/stack_save_restore.c | 40 +++++++ > 2 files changed, 95 insertions(+), 50 deletions(-) > create mode 100644 gcc/testsuite/gcc.target/riscv/stack_save_restore.c > >-- >2.17.1