8365200: RISC-V: compiler/loopopts/superword/TestGeneralizedReductions.java fails with Zvbb and vlen=128

Reviewed-by: fyang, fjiang
This commit is contained in:
Dingli Zhang 2025-08-12 01:25:35 +00:00 committed by Feilong Jiang
parent 9593730a23
commit 6927fc3904

View file

@ -160,13 +160,13 @@ public class TestGeneralizedReductions {
@Test
@IR(applyIfCPUFeatureOr = {"avx2", "true"},
applyIfAnd = {"SuperWordReductions", "true","UsePopCountInstruction", "true"},
applyIfAnd = {"SuperWordReductions", "true", "UsePopCountInstruction", "true"},
applyIfPlatform = {"64-bit", "true"},
counts = {IRNode.ADD_REDUCTION_VI, ">= 1",
IRNode.POPCOUNT_VL, ">= 1"})
@IR(applyIfPlatform = {"riscv64", "true"},
applyIfCPUFeatureOr = {"zvbb", "true"},
applyIfAnd = {"SuperWordReductions", "true","UsePopCountInstruction", "true"},
applyIfAnd = {"SuperWordReductions", "true", "UsePopCountInstruction", "true", "MaxVectorSize", ">=32"},
counts = {IRNode.ADD_REDUCTION_VI, ">= 1",
IRNode.POPCOUNT_VL, ">= 1"})
private static long testMapReductionOnGlobalAccumulator(long[] array) {