Skip to content

Commit ac9da7e

Browse files
author
duke
committed
Backport 6927fc3904eb239bd43ab7c581d479c00a6a4af2
1 parent 60e9784 commit ac9da7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)