RFR: 8361532: RISC-V: Several vector tests fail after JDK-8354383

Dingli Zhang dzhang at openjdk.org
Tue Jul 8 02:35:28 UTC 2025


Hi all,
Please take a look and review this PR, thanks!

After [JDK-8354383](https://bugs.openjdk.org/browse/JDK-8354383) , several test cases fail when fastdebug with RVV.
The reason for the error is that riscv lacks CastVV with dst as the mask register. 
This PR adds the corresponding matching rules.

### Testing
qemu-system with RVV:
* [x]  Run jdk_vector (fastdebug)
* [x]  Run compiler/vectorapi (fastdebug)

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

Commit messages:
 - 8361532: RISC-V: Several vector tests fail after JDK-8354383

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

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


More information about the hotspot-compiler-dev mailing list