Integrated: 8343030: RISC-V: Small assembler cleanups

Fei Yang fyang at openjdk.org
Sat Oct 26 03:35:13 UTC 2024


On Fri, 25 Oct 2024 03:07:19 GMT, Fei Yang <fyang at openjdk.org> wrote:

> Hi, please review this small code cleanups.
> 
> Witnessed some explicit type conversion to `address` is not necessary now.
> Also we can make use of `void la(Register Rd, const address addr)` where possible to simplify the code.
> This also adds one temporary register parameter for the `cmpptr` assembler routine.
> 
> Testing on linux-riscv64:
> - [x] tier1 (release)

This pull request has now been integrated.

Changeset: 1476f6c4
Author:    Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1476f6c47511ad9dceda3633776ace3ee353d7ed
Stats:     31 lines in 8 files changed: 2 ins; 11 del; 18 mod

8343030: RISC-V: Small assembler cleanups

Reviewed-by: mli, rehn

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

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


More information about the hotspot-dev mailing list