8290511: compiler/vectorapi/TestMaskedMacroLogicVector.java fails IR verification

Reviewed-by: kvn, thartmann
This commit is contained in:
Jie Fu 2022-07-19 22:50:00 +00:00
parent 7b418f9aba
commit 43588648ca

View File

@ -280,17 +280,17 @@ public class TestMaskedMacroLogicVector {
}
@Test
@IR(applyIf = {"UseAVX", "3"}, counts = {"AndV", " > 0 ", "XorV", " > 0 "})
@IR(applyIfAnd = {"UseAVX", "3", "UseSSE", " > 3 "}, counts = {"AndV", " > 0 ", "XorV", " > 0 "})
public void testInt4_Int128(int[] r, int[] a, int[] b, int[] c, boolean [] mask) {
testInt4Kernel(IntVector.SPECIES_128, r, a, b, c, mask);
}
@Test
@IR(applyIf = {"UseAVX", "3"}, counts = {"AndV", " > 0 ", "XorV", " > 0 "})
@IR(applyIfAnd = {"UseAVX", "3", "UseSSE", " > 3 "}, counts = {"AndV", " > 0 ", "XorV", " > 0 "})
public void testInt4_Int256(int[] r, int[] a, int[] b, int[] c, boolean [] mask) {
testInt4Kernel(IntVector.SPECIES_256, r, a, b, c, mask);
}
@Test
@IR(applyIf = {"UseAVX", "3"}, counts = {"AndV", " > 0 ", "XorV", " > 0 "})
@IR(applyIfAnd = {"UseAVX", "3", "UseSSE", " > 3 "}, counts = {"AndV", " > 0 ", "XorV", " > 0 "})
public void testInt4_Int512(int[] r, int[] a, int[] b, int[] c, boolean [] mask) {
testInt4Kernel(IntVector.SPECIES_512, r, a, b, c, mask);
}