[llvm] ebcc92c - [MCA][X86] Add missing PSLLDQ/PSRLDQ from AVX512BW/AVX512BWVL tests
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 10 08:00:48 PST 2021
Author: Simon Pilgrim
Date: 2021-12-10T15:59:51Z
New Revision: ebcc92ccdabc0a524afb88e53f58cbd506374c23
URL: https://github.com/llvm/llvm-project/commit/ebcc92ccdabc0a524afb88e53f58cbd506374c23
DIFF: https://github.com/llvm/llvm-project/commit/ebcc92ccdabc0a524afb88e53f58cbd506374c23.diff
LOG: [MCA][X86] Add missing PSLLDQ/PSRLDQ from AVX512BW/AVX512BWVL tests
Added:
Modified:
llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bw.s
llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bwvl.s
llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bw.s
llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bwvl.s
llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bw.s
llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bwvl.s
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bw.s b/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bw.s
index 699fc765d13f..f839d7b0834c 100644
--- a/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bw.s
+++ b/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bw.s
@@ -144,6 +144,12 @@ vpshuflw $0, (%rax), %zmm19 {k1}
vpshuflw $0, %zmm16, %zmm19 {z}{k1}
vpshuflw $0, (%rax), %zmm19 {z}{k1}
+vpslldq $1, %zmm16, %zmm19
+vpslldq $1, (%rax), %zmm19
+
+vpsrldq $1, %zmm16, %zmm19
+vpsrldq $1, (%rax), %zmm19
+
vpsubb %zmm16, %zmm17, %zmm19
vpsubb (%rax), %zmm17, %zmm19
vpsubb %zmm16, %zmm17, %zmm19 {k1}
@@ -343,6 +349,10 @@ vpmovw2m %zmm0, %k0
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %zmm19 {%k1}
# CHECK-NEXT: 1 1 1.00 vpshuflw $0, %zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %zmm19 {%k1} {z}
+# CHECK-NEXT: 1 1 1.00 vpslldq $1, %zmm16, %zmm19
+# CHECK-NEXT: 2 8 1.00 * vpslldq $1, (%rax), %zmm19
+# CHECK-NEXT: 1 1 1.00 vpsrldq $1, %zmm16, %zmm19
+# CHECK-NEXT: 2 8 1.00 * vpsrldq $1, (%rax), %zmm19
# CHECK-NEXT: 1 1 0.50 vpsubb %zmm16, %zmm17, %zmm19
# CHECK-NEXT: 2 8 0.50 * vpsubb (%rax), %zmm17, %zmm19
# CHECK-NEXT: 1 1 0.50 vpsubb %zmm16, %zmm17, %zmm19 {%k1}
@@ -412,7 +422,7 @@ vpmovw2m %zmm0, %k0
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
-# CHECK-NEXT: - - 10.67 47.67 - 119.67 39.00 39.00
+# CHECK-NEXT: - - 10.67 47.67 - 123.67 40.00 40.00
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
@@ -538,6 +548,10 @@ vpmovw2m %zmm0, %k0
# CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpshuflw $0, (%rax), %zmm19 {%k1}
# CHECK-NEXT: - - - - - 1.00 - - vpshuflw $0, %zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpshuflw $0, (%rax), %zmm19 {%k1} {z}
+# CHECK-NEXT: - - - - - 1.00 - - vpslldq $1, %zmm16, %zmm19
+# CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpslldq $1, (%rax), %zmm19
+# CHECK-NEXT: - - - - - 1.00 - - vpsrldq $1, %zmm16, %zmm19
+# CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpsrldq $1, (%rax), %zmm19
# CHECK-NEXT: - - - 0.50 - 0.50 - - vpsubb %zmm16, %zmm17, %zmm19
# CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpsubb (%rax), %zmm17, %zmm19
# CHECK-NEXT: - - - 0.50 - 0.50 - - vpsubb %zmm16, %zmm17, %zmm19 {%k1}
diff --git a/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bwvl.s b/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bwvl.s
index a1e8b439a9b9..5b0110fcca42 100644
--- a/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bwvl.s
+++ b/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512bwvl.s
@@ -249,6 +249,18 @@ vpshuflw $0, (%rax), %ymm19 {k1}
vpshuflw $0, %ymm16, %ymm19 {z}{k1}
vpshuflw $0, (%rax), %ymm19 {z}{k1}
+vpslldq $1, %xmm16, %xmm19
+vpslldq $1, (%rax), %xmm19
+
+vpslldq $1, %ymm16, %ymm19
+vpslldq $1, (%rax), %ymm19
+
+vpsrldq $1, %xmm16, %xmm19
+vpsrldq $1, (%rax), %xmm19
+
+vpsrldq $1, %ymm16, %ymm19
+vpsrldq $1, (%rax), %ymm19
+
vpsubb %xmm16, %xmm17, %xmm19
vpsubb (%rax), %xmm17, %xmm19
vpsubb %xmm16, %xmm17, %xmm19 {k1}
@@ -602,6 +614,14 @@ vpmovw2m %ymm0, %k0
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %ymm19 {%k1}
# CHECK-NEXT: 1 1 1.00 vpshuflw $0, %ymm16, %ymm19 {%k1} {z}
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %ymm19 {%k1} {z}
+# CHECK-NEXT: 1 1 0.50 vpslldq $1, %xmm16, %xmm19
+# CHECK-NEXT: 2 7 0.50 * vpslldq $1, (%rax), %xmm19
+# CHECK-NEXT: 1 1 1.00 vpslldq $1, %ymm16, %ymm19
+# CHECK-NEXT: 2 8 1.00 * vpslldq $1, (%rax), %ymm19
+# CHECK-NEXT: 1 1 0.50 vpsrldq $1, %xmm16, %xmm19
+# CHECK-NEXT: 2 7 0.50 * vpsrldq $1, (%rax), %xmm19
+# CHECK-NEXT: 1 1 1.00 vpsrldq $1, %ymm16, %ymm19
+# CHECK-NEXT: 2 8 1.00 * vpsrldq $1, (%rax), %ymm19
# CHECK-NEXT: 1 1 0.50 vpsubb %xmm16, %xmm17, %xmm19
# CHECK-NEXT: 2 7 0.50 * vpsubb (%rax), %xmm17, %xmm19
# CHECK-NEXT: 1 1 0.50 vpsubb %xmm16, %xmm17, %xmm19 {%k1}
@@ -727,7 +747,7 @@ vpmovw2m %ymm0, %k0
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
-# CHECK-NEXT: - - 13.33 117.33 - 189.33 78.00 78.00
+# CHECK-NEXT: - - 13.33 119.33 - 195.33 80.00 80.00
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
@@ -939,6 +959,14 @@ vpmovw2m %ymm0, %k0
# CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpshuflw $0, (%rax), %ymm19 {%k1}
# CHECK-NEXT: - - - - - 1.00 - - vpshuflw $0, %ymm16, %ymm19 {%k1} {z}
# CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpshuflw $0, (%rax), %ymm19 {%k1} {z}
+# CHECK-NEXT: - - - 0.50 - 0.50 - - vpslldq $1, %xmm16, %xmm19
+# CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpslldq $1, (%rax), %xmm19
+# CHECK-NEXT: - - - - - 1.00 - - vpslldq $1, %ymm16, %ymm19
+# CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpslldq $1, (%rax), %ymm19
+# CHECK-NEXT: - - - 0.50 - 0.50 - - vpsrldq $1, %xmm16, %xmm19
+# CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpsrldq $1, (%rax), %xmm19
+# CHECK-NEXT: - - - - - 1.00 - - vpsrldq $1, %ymm16, %ymm19
+# CHECK-NEXT: - - - - - 1.00 0.50 0.50 vpsrldq $1, (%rax), %ymm19
# CHECK-NEXT: - - - 0.50 - 0.50 - - vpsubb %xmm16, %xmm17, %xmm19
# CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 vpsubb (%rax), %xmm17, %xmm19
# CHECK-NEXT: - - - 0.50 - 0.50 - - vpsubb %xmm16, %xmm17, %xmm19 {%k1}
diff --git a/llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bw.s b/llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bw.s
index d90d60523fe1..5b09e40f88ca 100644
--- a/llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bw.s
+++ b/llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bw.s
@@ -144,6 +144,12 @@ vpshuflw $0, (%rax), %zmm19 {k1}
vpshuflw $0, %zmm16, %zmm19 {z}{k1}
vpshuflw $0, (%rax), %zmm19 {z}{k1}
+vpslldq $1, %zmm16, %zmm19
+vpslldq $1, (%rax), %zmm19
+
+vpsrldq $1, %zmm16, %zmm19
+vpsrldq $1, (%rax), %zmm19
+
vpsubb %zmm16, %zmm17, %zmm19
vpsubb (%rax), %zmm17, %zmm19
vpsubb %zmm16, %zmm17, %zmm19 {k1}
@@ -343,6 +349,10 @@ vpmovw2m %zmm0, %k0
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %zmm19 {%k1}
# CHECK-NEXT: 1 1 1.00 vpshuflw $0, %zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %zmm19 {%k1} {z}
+# CHECK-NEXT: 1 1 1.00 vpslldq $1, %zmm16, %zmm19
+# CHECK-NEXT: 2 8 1.00 * vpslldq $1, (%rax), %zmm19
+# CHECK-NEXT: 1 1 1.00 vpsrldq $1, %zmm16, %zmm19
+# CHECK-NEXT: 2 8 1.00 * vpsrldq $1, (%rax), %zmm19
# CHECK-NEXT: 1 1 0.33 vpsubb %zmm16, %zmm17, %zmm19
# CHECK-NEXT: 2 8 0.50 * vpsubb (%rax), %zmm17, %zmm19
# CHECK-NEXT: 1 1 0.33 vpsubb %zmm16, %zmm17, %zmm19 {%k1}
@@ -416,7 +426,7 @@ vpmovw2m %zmm0, %k0
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
-# CHECK-NEXT: - - 32.50 8.50 39.00 39.00 - 142.50 0.50 - - -
+# CHECK-NEXT: - - 32.50 8.50 40.00 40.00 - 146.50 0.50 - - -
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions:
@@ -542,6 +552,10 @@ vpmovw2m %zmm0, %k0
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpshuflw $0, (%rax), %zmm19 {%k1}
# CHECK-NEXT: - - - - - - - 1.00 - - - - vpshuflw $0, %zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpshuflw $0, (%rax), %zmm19 {%k1} {z}
+# CHECK-NEXT: - - - - - - - 1.00 - - - - vpslldq $1, %zmm16, %zmm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpslldq $1, (%rax), %zmm19
+# CHECK-NEXT: - - - - - - - 1.00 - - - - vpsrldq $1, %zmm16, %zmm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpsrldq $1, (%rax), %zmm19
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - - - vpsubb %zmm16, %zmm17, %zmm19
# CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - - - vpsubb (%rax), %zmm17, %zmm19
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - - - vpsubb %zmm16, %zmm17, %zmm19 {%k1}
diff --git a/llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bwvl.s b/llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bwvl.s
index ff557114449d..8696aedfcb64 100644
--- a/llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bwvl.s
+++ b/llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512bwvl.s
@@ -249,6 +249,18 @@ vpshuflw $0, (%rax), %ymm19 {k1}
vpshuflw $0, %ymm16, %ymm19 {z}{k1}
vpshuflw $0, (%rax), %ymm19 {z}{k1}
+vpslldq $1, %xmm16, %xmm19
+vpslldq $1, (%rax), %xmm19
+
+vpslldq $1, %ymm16, %ymm19
+vpslldq $1, (%rax), %ymm19
+
+vpsrldq $1, %xmm16, %xmm19
+vpsrldq $1, (%rax), %xmm19
+
+vpsrldq $1, %ymm16, %ymm19
+vpsrldq $1, (%rax), %ymm19
+
vpsubb %xmm16, %xmm17, %xmm19
vpsubb (%rax), %xmm17, %xmm19
vpsubb %xmm16, %xmm17, %xmm19 {k1}
@@ -602,6 +614,14 @@ vpmovw2m %ymm0, %k0
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %ymm19 {%k1}
# CHECK-NEXT: 1 1 1.00 vpshuflw $0, %ymm16, %ymm19 {%k1} {z}
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %ymm19 {%k1} {z}
+# CHECK-NEXT: 1 1 1.00 vpslldq $1, %xmm16, %xmm19
+# CHECK-NEXT: 2 7 1.00 * vpslldq $1, (%rax), %xmm19
+# CHECK-NEXT: 1 1 1.00 vpslldq $1, %ymm16, %ymm19
+# CHECK-NEXT: 2 8 1.00 * vpslldq $1, (%rax), %ymm19
+# CHECK-NEXT: 1 1 1.00 vpsrldq $1, %xmm16, %xmm19
+# CHECK-NEXT: 2 7 1.00 * vpsrldq $1, (%rax), %xmm19
+# CHECK-NEXT: 1 1 1.00 vpsrldq $1, %ymm16, %ymm19
+# CHECK-NEXT: 2 8 1.00 * vpsrldq $1, (%rax), %ymm19
# CHECK-NEXT: 1 1 0.33 vpsubb %xmm16, %xmm17, %xmm19
# CHECK-NEXT: 2 7 0.50 * vpsubb (%rax), %xmm17, %xmm19
# CHECK-NEXT: 1 1 0.33 vpsubb %xmm16, %xmm17, %xmm19 {%k1}
@@ -731,7 +751,7 @@ vpmovw2m %ymm0, %k0
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
-# CHECK-NEXT: - - 33.00 29.00 78.00 78.00 - 269.00 1.00 - - -
+# CHECK-NEXT: - - 33.00 29.00 80.00 80.00 - 277.00 1.00 - - -
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions:
@@ -943,6 +963,14 @@ vpmovw2m %ymm0, %k0
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpshuflw $0, (%rax), %ymm19 {%k1}
# CHECK-NEXT: - - - - - - - 1.00 - - - - vpshuflw $0, %ymm16, %ymm19 {%k1} {z}
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpshuflw $0, (%rax), %ymm19 {%k1} {z}
+# CHECK-NEXT: - - - - - - - 1.00 - - - - vpslldq $1, %xmm16, %xmm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpslldq $1, (%rax), %xmm19
+# CHECK-NEXT: - - - - - - - 1.00 - - - - vpslldq $1, %ymm16, %ymm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpslldq $1, (%rax), %ymm19
+# CHECK-NEXT: - - - - - - - 1.00 - - - - vpsrldq $1, %xmm16, %xmm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpsrldq $1, (%rax), %xmm19
+# CHECK-NEXT: - - - - - - - 1.00 - - - - vpsrldq $1, %ymm16, %ymm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - - - vpsrldq $1, (%rax), %ymm19
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - - - vpsubb %xmm16, %xmm17, %xmm19
# CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - - - vpsubb (%rax), %xmm17, %xmm19
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - - - vpsubb %xmm16, %xmm17, %xmm19 {%k1}
diff --git a/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bw.s b/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bw.s
index 07bce689284f..99996667acad 100644
--- a/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bw.s
+++ b/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bw.s
@@ -144,6 +144,12 @@ vpshuflw $0, (%rax), %zmm19 {k1}
vpshuflw $0, %zmm16, %zmm19 {z}{k1}
vpshuflw $0, (%rax), %zmm19 {z}{k1}
+vpslldq $1, %zmm16, %zmm19
+vpslldq $1, (%rax), %zmm19
+
+vpsrldq $1, %zmm16, %zmm19
+vpsrldq $1, (%rax), %zmm19
+
vpsubb %zmm16, %zmm17, %zmm19
vpsubb (%rax), %zmm17, %zmm19
vpsubb %zmm16, %zmm17, %zmm19 {k1}
@@ -343,6 +349,10 @@ vpmovw2m %zmm0, %k0
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %zmm19 {%k1}
# CHECK-NEXT: 1 1 1.00 vpshuflw $0, %zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %zmm19 {%k1} {z}
+# CHECK-NEXT: 1 1 1.00 vpslldq $1, %zmm16, %zmm19
+# CHECK-NEXT: 2 8 1.00 * vpslldq $1, (%rax), %zmm19
+# CHECK-NEXT: 1 1 1.00 vpsrldq $1, %zmm16, %zmm19
+# CHECK-NEXT: 2 8 1.00 * vpsrldq $1, (%rax), %zmm19
# CHECK-NEXT: 1 1 0.33 vpsubb %zmm16, %zmm17, %zmm19
# CHECK-NEXT: 2 8 0.50 * vpsubb (%rax), %zmm17, %zmm19
# CHECK-NEXT: 1 1 0.33 vpsubb %zmm16, %zmm17, %zmm19 {%k1}
@@ -414,7 +424,7 @@ vpmovw2m %zmm0, %k0
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
-# CHECK-NEXT: - - 32.50 8.50 39.00 39.00 - 142.50 0.50 -
+# CHECK-NEXT: - - 32.50 8.50 40.00 40.00 - 146.50 0.50 -
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] Instructions:
@@ -540,6 +550,10 @@ vpmovw2m %zmm0, %k0
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpshuflw $0, (%rax), %zmm19 {%k1}
# CHECK-NEXT: - - - - - - - 1.00 - - vpshuflw $0, %zmm16, %zmm19 {%k1} {z}
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpshuflw $0, (%rax), %zmm19 {%k1} {z}
+# CHECK-NEXT: - - - - - - - 1.00 - - vpslldq $1, %zmm16, %zmm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpslldq $1, (%rax), %zmm19
+# CHECK-NEXT: - - - - - - - 1.00 - - vpsrldq $1, %zmm16, %zmm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpsrldq $1, (%rax), %zmm19
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - vpsubb %zmm16, %zmm17, %zmm19
# CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vpsubb (%rax), %zmm17, %zmm19
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - vpsubb %zmm16, %zmm17, %zmm19 {%k1}
diff --git a/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bwvl.s b/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bwvl.s
index 966c879d608e..febe207fab27 100644
--- a/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bwvl.s
+++ b/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx512bwvl.s
@@ -249,6 +249,18 @@ vpshuflw $0, (%rax), %ymm19 {k1}
vpshuflw $0, %ymm16, %ymm19 {z}{k1}
vpshuflw $0, (%rax), %ymm19 {z}{k1}
+vpslldq $1, %xmm16, %xmm19
+vpslldq $1, (%rax), %xmm19
+
+vpslldq $1, %ymm16, %ymm19
+vpslldq $1, (%rax), %ymm19
+
+vpsrldq $1, %xmm16, %xmm19
+vpsrldq $1, (%rax), %xmm19
+
+vpsrldq $1, %ymm16, %ymm19
+vpsrldq $1, (%rax), %ymm19
+
vpsubb %xmm16, %xmm17, %xmm19
vpsubb (%rax), %xmm17, %xmm19
vpsubb %xmm16, %xmm17, %xmm19 {k1}
@@ -602,6 +614,14 @@ vpmovw2m %ymm0, %k0
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %ymm19 {%k1}
# CHECK-NEXT: 1 1 1.00 vpshuflw $0, %ymm16, %ymm19 {%k1} {z}
# CHECK-NEXT: 2 8 1.00 * vpshuflw $0, (%rax), %ymm19 {%k1} {z}
+# CHECK-NEXT: 1 1 1.00 vpslldq $1, %xmm16, %xmm19
+# CHECK-NEXT: 2 7 1.00 * vpslldq $1, (%rax), %xmm19
+# CHECK-NEXT: 1 1 1.00 vpslldq $1, %ymm16, %ymm19
+# CHECK-NEXT: 2 8 1.00 * vpslldq $1, (%rax), %ymm19
+# CHECK-NEXT: 1 1 1.00 vpsrldq $1, %xmm16, %xmm19
+# CHECK-NEXT: 2 7 1.00 * vpsrldq $1, (%rax), %xmm19
+# CHECK-NEXT: 1 1 1.00 vpsrldq $1, %ymm16, %ymm19
+# CHECK-NEXT: 2 8 1.00 * vpsrldq $1, (%rax), %ymm19
# CHECK-NEXT: 1 1 0.33 vpsubb %xmm16, %xmm17, %xmm19
# CHECK-NEXT: 2 7 0.50 * vpsubb (%rax), %xmm17, %xmm19
# CHECK-NEXT: 1 1 0.33 vpsubb %xmm16, %xmm17, %xmm19 {%k1}
@@ -729,7 +749,7 @@ vpmovw2m %ymm0, %k0
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
-# CHECK-NEXT: - - 33.00 29.00 78.00 78.00 - 269.00 1.00 -
+# CHECK-NEXT: - - 33.00 29.00 80.00 80.00 - 277.00 1.00 -
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] Instructions:
@@ -941,6 +961,14 @@ vpmovw2m %ymm0, %k0
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpshuflw $0, (%rax), %ymm19 {%k1}
# CHECK-NEXT: - - - - - - - 1.00 - - vpshuflw $0, %ymm16, %ymm19 {%k1} {z}
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpshuflw $0, (%rax), %ymm19 {%k1} {z}
+# CHECK-NEXT: - - - - - - - 1.00 - - vpslldq $1, %xmm16, %xmm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpslldq $1, (%rax), %xmm19
+# CHECK-NEXT: - - - - - - - 1.00 - - vpslldq $1, %ymm16, %ymm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpslldq $1, (%rax), %ymm19
+# CHECK-NEXT: - - - - - - - 1.00 - - vpsrldq $1, %xmm16, %xmm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpsrldq $1, (%rax), %xmm19
+# CHECK-NEXT: - - - - - - - 1.00 - - vpsrldq $1, %ymm16, %ymm19
+# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpsrldq $1, (%rax), %ymm19
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - vpsubb %xmm16, %xmm17, %xmm19
# CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vpsubb (%rax), %xmm17, %xmm19
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - vpsubb %xmm16, %xmm17, %xmm19 {%k1}
More information about the llvm-commits
mailing list