8298880: VectorLogicalOpIdentityTest.java IR test incorrectly use avx3 instead of avx512
Reviewed-by: chagedorn, kvn, rcastanedalo
This commit is contained in:
parent
21c1afbc32
commit
5b1584b92c
@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2022, Arm Limited. All rights reserved.
|
||||
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -301,7 +302,7 @@ public class VectorLogicalOpIdentityTest {
|
||||
// Transform AndV(AndV(a, b, m), b, m) ==> AndV(a, b, m)
|
||||
@Test
|
||||
@Warmup(10000)
|
||||
@IR(counts = {IRNode.AND_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx3", "true"})
|
||||
@IR(counts = {IRNode.AND_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx512", "true"})
|
||||
public static void testAndMaskSameValue1() {
|
||||
VectorMask<Integer> mask = VectorMask.fromArray(I_SPECIES, m, 0);
|
||||
IntVector av = IntVector.fromArray(I_SPECIES, ia, 0);
|
||||
@ -322,7 +323,7 @@ public class VectorLogicalOpIdentityTest {
|
||||
// Transform AndV(AndV(a, b, m), a, m) ==> AndV(a, b, m)
|
||||
@Test
|
||||
@Warmup(10000)
|
||||
@IR(counts = {IRNode.AND_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx3", "true"})
|
||||
@IR(counts = {IRNode.AND_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx512", "true"})
|
||||
public static void testAndMaskSameValue2() {
|
||||
VectorMask<Long> mask = VectorMask.fromArray(L_SPECIES, m, 0);
|
||||
LongVector av = LongVector.fromArray(L_SPECIES, la, 0);
|
||||
@ -343,7 +344,7 @@ public class VectorLogicalOpIdentityTest {
|
||||
// Transform AndV(a, AndV(a, b, m), m) ==> AndV(a, b, m)
|
||||
@Test
|
||||
@Warmup(10000)
|
||||
@IR(counts = {IRNode.AND_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx3", "true"})
|
||||
@IR(counts = {IRNode.AND_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx512", "true"})
|
||||
public static void testAndMaskSameValue3() {
|
||||
VectorMask<Integer> mask = VectorMask.fromArray(I_SPECIES, m, 0);
|
||||
IntVector av = IntVector.fromArray(I_SPECIES, ia, 0);
|
||||
@ -565,7 +566,7 @@ public class VectorLogicalOpIdentityTest {
|
||||
// Transform OrV(OrV(a, b, m), b, m) ==> OrV(a, b, m)
|
||||
@Test
|
||||
@Warmup(10000)
|
||||
@IR(counts = {IRNode.OR_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx3", "true"})
|
||||
@IR(counts = {IRNode.OR_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx512", "true"})
|
||||
public static void testOrMaskSameValue1() {
|
||||
VectorMask<Integer> mask = VectorMask.fromArray(I_SPECIES, m, 0);
|
||||
IntVector av = IntVector.fromArray(I_SPECIES, ia, 0);
|
||||
@ -586,7 +587,7 @@ public class VectorLogicalOpIdentityTest {
|
||||
// Transform OrV(OrV(a, b, m), a, m) ==> OrV(a, b, m)
|
||||
@Test
|
||||
@Warmup(10000)
|
||||
@IR(counts = {IRNode.OR_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx3", "true"})
|
||||
@IR(counts = {IRNode.OR_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx512", "true"})
|
||||
public static void testOrMaskSameValue2() {
|
||||
VectorMask<Long> mask = VectorMask.fromArray(L_SPECIES, m, 0);
|
||||
LongVector av = LongVector.fromArray(L_SPECIES, la, 0);
|
||||
@ -607,7 +608,7 @@ public class VectorLogicalOpIdentityTest {
|
||||
// Transform OrV(a, OrV(a, b, m), m) ==> OrV(a, b, m)
|
||||
@Test
|
||||
@Warmup(10000)
|
||||
@IR(counts = {IRNode.OR_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx3", "true"})
|
||||
@IR(counts = {IRNode.OR_V, "1"}, applyIfCPUFeatureOr = {"sve1", "true", "avx512", "true"})
|
||||
public static void testOrMaskSameValue3() {
|
||||
VectorMask<Integer> mask = VectorMask.fromArray(I_SPECIES, m, 0);
|
||||
IntVector av = IntVector.fromArray(I_SPECIES, ia, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user