Integrated: 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:36 UTC 2024


On Sat, 20 Apr 2024 12:42:20 GMT, Feilong Jiang <fjiang 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)

This pull request has now been integrated.

Changeset: 281f9bde
Author:    Feilong Jiang <fjiang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/281f9bdeb9d6870346b12e6c62a58f7984b1b133
Stats:     12 lines in 3 files changed: 0 ins; 4 del; 8 mod

8330735: RISC-V: No need to move sp to tmp register in set_last_Java_frame

Reviewed-by: fyang

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

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


More information about the hotspot-dev mailing list