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

Dingli Zhang dzhang at openjdk.org
Wed Jul 23 03:38:55 UTC 2025


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

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

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

Changes: https://git.openjdk.org/jdk/pull/26437/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26437&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8363898
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26437.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26437/head:pull/26437

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


More information about the hotspot-compiler-dev mailing list