Skip to content

Commit 6927fc3

Browse files
DingliZhangfeilongjiang
authored andcommitted
8365200: RISC-V: compiler/loopopts/superword/TestGeneralizedReductions.java fails with Zvbb and vlen=128
Reviewed-by: fyang, fjiang
1 parent 9593730 commit 6927fc3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/hotspot/jtreg/compiler/loopopts/superword/TestGeneralizedReductions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ private static long testReductionOnPartiallyUnrolledLoopWithSwappedInputs(long[]
160160

161161
@Test
162162
@IR(applyIfCPUFeatureOr = {"avx2", "true"},
163-
applyIfAnd = {"SuperWordReductions", "true","UsePopCountInstruction", "true"},
163+
applyIfAnd = {"SuperWordReductions", "true", "UsePopCountInstruction", "true"},
164164
applyIfPlatform = {"64-bit", "true"},
165165
counts = {IRNode.ADD_REDUCTION_VI, ">= 1",
166166
IRNode.POPCOUNT_VL, ">= 1"})
167167
@IR(applyIfPlatform = {"riscv64", "true"},
168168
applyIfCPUFeatureOr = {"zvbb", "true"},
169-
applyIfAnd = {"SuperWordReductions", "true","UsePopCountInstruction", "true"},
169+
applyIfAnd = {"SuperWordReductions", "true", "UsePopCountInstruction", "true", "MaxVectorSize", ">=32"},
170170
counts = {IRNode.ADD_REDUCTION_VI, ">= 1",
171171
IRNode.POPCOUNT_VL, ">= 1"})
172172
private static long testMapReductionOnGlobalAccumulator(long[] array) {

0 commit comments

Comments
 (0)