42
42
* @key randomness
43
43
* @library /test/lib /
44
44
* @requires vm.compiler2.enabled
45
- * @requires os.arch == "riscv64" & vm.cpu.features ~= ".*zvbb.*"
45
+ * @requires os.arch == "riscv64"
46
46
* @summary RISCV: [vector] zvbb extension And-Not support Test for match rules
47
47
* @modules jdk.incubator.vector
48
48
*
@@ -84,7 +84,7 @@ public class VectorAndNotMatchRuleTest {
84
84
85
85
@ Test
86
86
@ Warmup (10000 )
87
- @ IR (counts = { IRNode .VAND_NOT_I , " >= 1" }, applyIf = {"UseZvbb" , "> 0" })
87
+ @ IR (counts = { IRNode .RISCV_VAND_NOT_I , " >= 1" }, applyIf = {"UseZvbb" , "> 0" })
88
88
public static void testVectorVAndNotI () {
89
89
IntVector av = IntVector .fromArray (I_SPECIES , ia , 0 );
90
90
IntVector bv = IntVector .fromArray (I_SPECIES , ib , 0 );
@@ -98,7 +98,7 @@ public static void testVectorVAndNotI() {
98
98
99
99
@ Test
100
100
@ Warmup (10000 )
101
- @ IR (counts = { IRNode .VAND_NOT_L , " >= 1" }, applyIf = {"UseZvbb" , "> 0" })
101
+ @ IR (counts = { IRNode .RISCV_VAND_NOT_L , " >= 1" }, applyIf = {"UseZvbb" , "> 0" })
102
102
public static void testVectorVAndNotL () {
103
103
VectorMask <Long > avm = VectorMask .fromArray (L_SPECIES , ma , 0 );
104
104
VectorMask <Long > bvm = VectorMask .fromArray (L_SPECIES , mb , 0 );
@@ -113,7 +113,7 @@ public static void testVectorVAndNotL() {
113
113
114
114
@ Test
115
115
@ Warmup (10000 )
116
- @ IR (counts = { IRNode .VAND_NOT_I_MASKED , " >= 1" }, applyIf = {"UseZvbb" , "> 0" } )
116
+ @ IR (counts = { IRNode .RISCV_VAND_NOT_I_MASKED , " >= 1" }, applyIf = {"UseZvbb" , "> 0" } )
117
117
public static void testVectorVAndNotIMasked () {
118
118
VectorMask <Integer > avm = VectorMask .fromArray (I_SPECIES , ma , 0 );
119
119
IntVector av = IntVector .fromArray (I_SPECIES , ia , 0 );
0 commit comments