Integrated: 8343122: RISC-V: C2: Small improvement for real runtime callouts
Fei Yang
fyang at openjdk.org
Fri Nov 1 00:57:35 UTC 2024
On Mon, 28 Oct 2024 04:39:17 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hi, please review this small improvement.
>
> Currently, we do 11 instructions for real C2 runtime callouts (See riscv_enc_java_to_runtime).
> Seems we can materialize the pointer faster with `movptr2`, which will help reduce 2 instructions.
> But we will need to reorder the original calling sequence a bit to make `t0` available for `movptr2`.
>
> Testing on linux-riscv64 platform:
> - [x] tier1-tier3 (release)
> - [x] hotspot:tier1 (fastdebug)
This pull request has now been integrated.
Changeset: cbda7580
Author: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/cbda758010c22b0c1b9aec16004d4bfd24ab5c81
Stats: 11 lines in 1 file changed: 4 ins; 2 del; 5 mod
8343122: RISC-V: C2: Small improvement for real runtime callouts
Reviewed-by: rehn, fjiang
-------------
PR: https://git.openjdk.org/jdk/pull/21733
More information about the hotspot-compiler-dev
mailing list