@@ -69,7 +69,7 @@ public class VectorMaskLaneIsSetTest {
69
69
70
70
@ Test
71
71
@ IR (counts = { IRNode .VECTOR_MASK_LANE_IS_SET , "= 6" }, applyIfCPUFeature = { "asimd" , "true" })
72
- @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 6" }, applyIfCPUFeature = { "avx2" , "true" })
72
+ @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 6" }, applyIfCPUFeatureOr = { "avx2" , "true" , "rvv " , "true" })
73
73
public static void testVectorMaskLaneIsSetByte_const () {
74
74
Asserts .assertEquals (ma [0 ], mask_b .laneIsSet (0 ));
75
75
Asserts .assertEquals (ma [0 ], mask_s .laneIsSet (0 ));
@@ -81,7 +81,7 @@ public static void testVectorMaskLaneIsSetByte_const() {
81
81
82
82
@ Test
83
83
@ IR (counts = { IRNode .VECTOR_MASK_LANE_IS_SET , "= 1" }, applyIfCPUFeature = { "asimd" , "true" })
84
- @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeature = { "avx" , "true" })
84
+ @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeatureOr = { "avx" , "true" , "rvv " , "true" })
85
85
public static boolean testVectorMaskLaneIsSet_Byte_variable (int i ) {
86
86
return mask_b .laneIsSet (i );
87
87
}
@@ -93,7 +93,7 @@ public static void testVectorMaskLaneIsSet_Byte_variable_runner() {
93
93
94
94
@ Test
95
95
@ IR (counts = { IRNode .VECTOR_MASK_LANE_IS_SET , "= 1" }, applyIfCPUFeature = { "asimd" , "true" })
96
- @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeature = { "avx" , "true" })
96
+ @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeatureOr = { "avx" , "true" , "rvv " , "true" })
97
97
public static boolean testVectorMaskLaneIsSet_Short_variable (int i ) {
98
98
return mask_s .laneIsSet (i );
99
99
}
@@ -105,7 +105,7 @@ public static void testVectorMaskLaneIsSet_Short_variable_runner() {
105
105
106
106
@ Test
107
107
@ IR (counts = { IRNode .VECTOR_MASK_LANE_IS_SET , "= 1" }, applyIfCPUFeature = { "asimd" , "true" })
108
- @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeature = { "avx" , "true" })
108
+ @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeatureOr = { "avx" , "true" , "rvv " , "true" })
109
109
public static boolean testVectorMaskLaneIsSet_Int_variable (int i ) {
110
110
return mask_i .laneIsSet (i );
111
111
}
@@ -117,7 +117,7 @@ public static void testVectorMaskLaneIsSet_Int_variable_runner() {
117
117
118
118
@ Test
119
119
@ IR (counts = { IRNode .VECTOR_MASK_LANE_IS_SET , "= 1" }, applyIfCPUFeature = { "asimd" , "true" })
120
- @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeature = { "avx2" , "true" })
120
+ @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeatureOr = { "avx2" , "true" , "rvv " , "true" })
121
121
public static boolean testVectorMaskLaneIsSet_Long_variable (int i ) {
122
122
return mask_l .laneIsSet (i );
123
123
}
@@ -129,7 +129,7 @@ public static void testVectorMaskLaneIsSet_Long_variable_runner() {
129
129
130
130
@ Test
131
131
@ IR (counts = { IRNode .VECTOR_MASK_LANE_IS_SET , "= 1" }, applyIfCPUFeature = { "asimd" , "true" })
132
- @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeature = { "avx" , "true" })
132
+ @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeatureOr = { "avx" , "true" , "rvv " , "true" })
133
133
public static boolean testVectorMaskLaneIsSet_Float_variable (int i ) {
134
134
return mask_f .laneIsSet (i );
135
135
}
@@ -141,7 +141,7 @@ public static void testVectorMaskLaneIsSet_Float_variable_runner() {
141
141
142
142
@ Test
143
143
@ IR (counts = { IRNode .VECTOR_MASK_LANE_IS_SET , "= 1" }, applyIfCPUFeature = { "asimd" , "true" })
144
- @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeature = { "avx2" , "true" })
144
+ @ IR (counts = { IRNode .VECTOR_MASK_TO_LONG , "= 1" }, applyIfCPUFeatureOr = { "avx2" , "true" , "rvv " , "true" })
145
145
public static boolean testVectorMaskLaneIsSet_Double_variable (int i ) {
146
146
return mask_d .laneIsSet (i );
147
147
}
0 commit comments