RFR: 8346922: TestVectorReinterpret.java fails without the rvv extension on RISCV fastdebug VM
Vladimir Kozlov
kvn at openjdk.org
Thu Jan 2 22:19:42 UTC 2025
On Thu, 2 Jan 2025 07:33:32 GMT, Gui Cao <gcao at openjdk.org> wrote:
> Hi, TestVectorReinterpret.java fails without the rvv extension on RISCV fastdebug VM, on riscv platform need to have rvv extension to run it.
>
> ### Testing
> - [x] Run TestVectorReinterpret.java tests on SOPHON SG2042 without rvv1.0 (fastdebug)
> - [x] Run TestVectorReinterpret.java tests on Banana Pi BPI-F3 board (with RVV1.0) (fastdebug)
> - [x] Run TestVectorReinterpret.java tests on aarch64 with neon
> - [x] Run TestVectorReinterpret.java tests on Xeon(R) Platinum 8378A CPU
test/hotspot/jtreg/compiler/vectorapi/reshape/TestVectorReinterpret.java line 43:
> 41: * @summary Test that vector reinterpret intrinsics work as intended.
> 42: * @requires (os.arch=="x86" | os.arch=="i386" | os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64" | os.arch == "ppc64" | os.arch == "ppc64le" | os.arch == "s390x") |
> 43: * (os.arch == "riscv64" & vm.cpu.features ~= ".*rvv.*")
Can it be as next?:
* @requires os.arch != "riscv64" | vm.cpu.features ~= ".*rvv.*"
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22901#discussion_r1901307105
More information about the hotspot-compiler-dev
mailing list