RFR: 8330735: RISC-V: No need to move sp to tmp register in set_last_Java_frame
Feilong Jiang
fjiang at openjdk.org
Tue Apr 23 08:02:35 UTC 2024
On Mon, 22 Apr 2024 02:49:20 GMT, Fei Yang <fyang at openjdk.org> wrote:
>> Hi, please review this refactoring to remove the unnecessary move from sp to temp register.
>>
>> There is no restriction for riscv when using `sp` as an operand in instructions. So we do not have to move the sp register to a temp register before we store `last_java_sp`.
>>
>> Testing:
>>
>> - [x] Tier1-3 (linux-riscv64, release)
>
> Looks fine. Thanks for the cleanup!
@RealFYang -- Thanks!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18875#issuecomment-2071667441
More information about the hotspot-dev
mailing list