RFR: 8363898: RISC-V: TestRangeCheckHoistingScaledIV.java fails after JDK-8355293 when running without RVV

Fei Yang fyang at openjdk.org
Wed Jul 23 03:43:57 UTC 2025


On Wed, 23 Jul 2025 03:32:26 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:

> Hi all,
> Please take a look and review this PR, thanks!
> 
> test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java fails without RVV after [JDK-8355293](https://bugs.openjdk.org/browse/JDK-8355293) in fastdebug mode.
> 
> VectorAPI needs vector intrinsic in this case, so RVV needs to be enabled on RISC-V.
> 
> ### Test (fastdebug)
> - [x] Run test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java on k1 and sg2042
> - [x] Run test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java on qemu-system w/ and w/o RVV

Looks fine. Thanks for fixing this test.

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

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26437#pullrequestreview-3045475368


More information about the hotspot-compiler-dev mailing list