RFR: 8366127: RISC-V: compiler/intrinsics/TestVerifyIntrinsicChecks.java fails when running without RVV

Dingli Zhang dzhang at openjdk.org
Tue Aug 26 03:27:30 UTC 2025


Hi,
Can you help to review this patch? Thanks!

We noticed that compiler/intrinsics/TestVerifyIntrinsicChecks.java fails when running on sg2042.
The error is caused by the intrinsic `EncodeISOArray` corresponding to `encodeAsciiArray0` requiring RVV on riscv. (See `encode_iso_array_v` in `c2_MacroAssembler_riscv.cpp`)

### Test (fastdebug)
- [x] Run compiler/intrinsics/TestVerifyIntrinsicChecks.java on k1 and sg2042

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

Commit messages:
 - 8366127: RISC-V: compiler/intrinsics/TestVerifyIntrinsicChecks.java fails when running without RVV

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

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


More information about the hotspot-compiler-dev mailing list