RFR: 8346924: TestVectorizationNegativeScale.java fails without the rvv extension on RISCV fastdebug VM

Vladimir Kozlov kvn at openjdk.org
Thu Jan 2 22:21:55 UTC 2025


On Thu, 2 Jan 2025 07:38:49 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, TestVectorizationNegativeScale.java fails without the rvv extension on RISCV fastdebug VM, on riscv platform need to have rvv extension to run it.
> 
> ### Testing
> - [x] Run TestVectorizationNegativeScale.java tests on SOPHON SG2042 without rvv1.0 (fastdebug)
> - [x] Run TestVectorizationNegativeScale.java tests on Banana Pi BPI-F3 board (with RVV1.0) (fastdebug)
> - [x] Run TestVectorizationNegativeScale.java tests on aarch64 with neon
> - [x] Run TestVectorizationNegativeScale.java tests on Xeon(R) Platinum 8378A CPU

test/hotspot/jtreg/compiler/vectorization/TestVectorizationNegativeScale.java line 29:

> 27:  * @summary [REDO] C2: crash in compiled code because of dependency on removed range check CastIIs
> 28:  * @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") |
> 29:  *           (os.arch == "riscv64" & vm.cpu.features ~= ".*rvv.*")

Can you try next:

 * @requires os.arch != "riscv64" | vm.cpu.features ~= ".*rvv.*"

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22902#discussion_r1901308889


More information about the hotspot-compiler-dev mailing list