[riscv-port] RFR: 8278337: riscv: remove unnecessary ld/sd zr around calls [v2]

kuaiwei duke at openjdk.java.net
Wed Dec 8 12:53:15 UTC 2021


On Wed, 8 Dec 2021 06:43:31 GMT, kuaiwei <duke at openjdk.java.net> wrote:

>> It seems zr(x0) is used as stack alignment when saving/restoring registers around calls. But it's unnecessary to ld/st x0 from/to stack. We just need reserve a stack slot in case alignment is required.
>
> kuaiwei has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.

>
Hi Felix,  the patch passed tier1 test in qemu with fastdebug build.

-------------

PR: https://git.openjdk.java.net/riscv-port/pull/25



More information about the riscv-port-dev mailing list