Re: [PATCH v3] RISC-V modified add3 for large stack frame optimization [PR105733]

2022-11-22 Thread Jeff Law via Gcc-patches
On 11/3/22 18:53, Kevin Lee wrote: This is the identical patch with https://gcc.gnu.org/pipermail/gcc-patches/2022-November/604814.html, but with the correct plaintext format. The loop still seems a bit odd which may point to further improvements that could be made to this patch. Consider

Re: [PATCH v3] RISC-V modified add3 for large stack frame optimization [PR105733]

2022-11-03 Thread Kito Cheng via Gcc-patches
I would like to see some benchmark results instead of just a simple case, to make sure everything is alright, the add pattern is used literally anywhere, my most worry is the clobber might bring some negative impact like cause register pressure estimation get higher, and then result worse code gen.

[PATCH v3] RISC-V modified add3 for large stack frame optimization [PR105733]

2022-11-03 Thread Kevin Lee
This is the identical patch with https://gcc.gnu.org/pipermail/gcc-patches/2022-November/604814.html, but with the correct plaintext format. >The loop still seems a bit odd which may point to further improvements >that could be made to this patch. Consider this fragment of the loop: Thank yo