RFR: 8296435: RISC-V: Small refactoring for increment/decrement

Fei Yang fyang at openjdk.org
Mon Nov 7 01:49:28 UTC 2022


On Sun, 6 Nov 2022 01:42:50 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:

> The `increment` and `decrement` use t1 as tmp register, while t1 was the flag register in c2.
> We can make tmp registers as the arguments of `increment` and `decrement` so that c2 can reuse them.
> 
> Testing:
> 
> full tier1 tests passed on  Linux-riscv64 HiFive Unmathced board with release build

Looks good. Thanks.

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

Marked as reviewed by fyang (Reviewer).

PR: https://git.openjdk.org/jdk/pull/11005


More information about the hotspot-dev mailing list