Integrated: 8327716: RISC-V: Change type of vector_length param of several assembler functions from int to uint

Gui Cao gcao at openjdk.org
Tue Mar 12 01:32:20 UTC 2024


On Sat, 9 Mar 2024 09:39:38 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, we noticed that the return type of Matcher::vector_length is uint, But the type of vector_length param of several assembler functions is int, which is not consistent. This should not affect functionality, but we should change type of vector_length param of several assembler functions from int to uint to make the code clean.
> 
> ### Tests
> - [x] Run tier1-3 tests on on LicheePI 4A (release)
> - [x]  Run tier1-3 tests with -XX:+UseRVV on qemu 8.1.0 (release)

This pull request has now been integrated.

Changeset: 4d6235ed
Author:    Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4d6235ed111178d31814763b0d23e372db2b3e1b
Stats:     23 lines in 3 files changed: 0 ins; 0 del; 23 mod

8327716: RISC-V: Change type of vector_length param of several assembler functions from int to uint

Reviewed-by: fyang

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

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


More information about the hotspot-compiler-dev mailing list