[jdk21u] RFR: 8316933: RISC-V: compiler/vectorapi/VectorCastShape128Test.java fails when using RVV

Gui Cao gcao at openjdk.org
Wed Sep 27 07:37:47 UTC 2023


Hi, This issue also exists in the JDK21U, so i would like to backport this to jdk21u make vector api work correctly using latest qemu. see jbs issue for exception information.

zifeihan at plct-c8:~/qemu-master-riscv64/bin$ ./qemu-riscv64 -version
qemu-riscv64 version 8.1.50
Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers

By the way, using a lower version of qemu (qemu-riscv64 version 7.0.91) no such problems were encountered. we infer that version 8.1.50 of qemu adds better checks.
`test/hotspot/jtreg/compiler/vectorapi/VectorCastShape128Test.java` passed with fastdebug and using latest qemu.
### Testing:
qemu 8.1.50 with UseRVV:
- [x] Tier1 tests (release)
- [ ] Tier2 tests (release)
- [ ] Tier3 tests (release)
- [x] test/jdk/jdk/incubator/vector (fastdebug)

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

Commit messages:
 - Backport e39197ec62ca9363d9862d1ae1fca5b1b0286d59

Changes: https://git.openjdk.org/jdk21u/pull/206/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk21u&pr=206&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316933
  Stats: 34 lines in 3 files changed: 9 ins; 9 del; 16 mod
  Patch: https://git.openjdk.org/jdk21u/pull/206.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u.git pull/206/head:pull/206

PR: https://git.openjdk.org/jdk21u/pull/206


More information about the jdk-updates-dev mailing list