@@ -1063,8 +1063,16 @@ static Object[] test12(byte[] a, byte[] b, byte mask) {
10631063 IRNode .ADD_VL , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
10641064 IRNode .STORE_VECTOR , "> 0" },
10651065 applyIfPlatform = {"64-bit" , "true" },
1066- applyIfCPUFeatureOr = {"avx2" , "true" , "rvv " , "true" })
1066+ applyIfCPUFeature = {"avx2" , "true" })
10671067 // require avx to ensure vectors are larger than what unrolling produces
1068+ @ IR (counts = {IRNode .LOAD_VECTOR_I , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
1069+ IRNode .LOAD_VECTOR_L , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
1070+ IRNode .ADD_VI , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
1071+ IRNode .ADD_VL , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
1072+ IRNode .STORE_VECTOR , "> 0" },
1073+ applyIfPlatform = {"riscv64" , "true" },
1074+ applyIfCPUFeature = {"rvv" , "true" },
1075+ applyIf = {"MaxVectorSize" , ">=32" })
10681076 static Object [] test13aIL (int [] a , long [] b ) {
10691077 for (int i = 0 ; i < RANGE ; i ++) {
10701078 a [i ]++;
@@ -1175,8 +1183,16 @@ static Object[] test13aBSIL(byte[] a, short[] b, int[] c, long[] d) {
11751183 IRNode .ADD_VL , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
11761184 IRNode .STORE_VECTOR , "> 0" },
11771185 applyIfPlatform = {"64-bit" , "true" },
1178- applyIfCPUFeatureOr = {"avx2" , "true" , "rvv " , "true" })
1186+ applyIfCPUFeature = {"avx2" , "true" })
11791187 // require avx to ensure vectors are larger than what unrolling produces
1188+ @ IR (counts = {IRNode .LOAD_VECTOR_I , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
1189+ IRNode .LOAD_VECTOR_L , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
1190+ IRNode .ADD_VI , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
1191+ IRNode .ADD_VL , IRNode .VECTOR_SIZE + "min(max_int, max_long)" , "> 0" ,
1192+ IRNode .STORE_VECTOR , "> 0" },
1193+ applyIfPlatform = {"riscv64" , "true" },
1194+ applyIfCPUFeature = {"rvv" , "true" },
1195+ applyIf = {"MaxVectorSize" , ">=32" })
11801196 static Object [] test13bIL (int [] a , long [] b ) {
11811197 for (int i = 1 ; i < RANGE ; i ++) {
11821198 a [i ]++;
0 commit comments