Skip to content

Commit 12d7b2e

Browse files
DingliZhangRealFYang
authored andcommitted
8363898: RISC-V: TestRangeCheckHoistingScaledIV.java fails after JDK-8355293 when running without RVV
Backport-of: b746701e5769a7a5a1e7900ddfdd285706ac5fe1
1 parent e7d4fc0 commit 12d7b2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
* @summary Test range check hoisting for some scaled iv at array index
2929
* @library /test/lib /
3030
* @requires vm.flagless
31-
* @requires vm.debug & vm.compiler2.enabled & (os.simpleArch == "x64" | os.arch == "aarch64" | os.arch == "riscv64")
31+
* @requires vm.debug & vm.compiler2.enabled
32+
* @requires os.simpleArch == "x64" | os.arch == "aarch64" | (os.arch == "riscv64" & vm.cpu.features ~= ".*rvv.*")
3233
* @modules jdk.incubator.vector
3334
* @run main/othervm compiler.rangechecks.TestRangeCheckHoistingScaledIV
3435
*/

0 commit comments

Comments
 (0)