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

Feilong Jiang fjiang at openjdk.org
Tue Nov 8 01:06:23 UTC 2022


On Mon, 7 Nov 2022 01:45:36 GMT, Fei Yang <fyang 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.

@RealFYang  -- Thanks!

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

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


More information about the hotspot-dev mailing list