[llvm] 45fdb77 - [MCA][X86] Cleanup znver4 instregex patterns for (V)PMOV extension/truncation instructions
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 26 02:56:45 PST 2024
Author: Simon Pilgrim
Date: 2024-11-26T10:56:27Z
New Revision: 45fdb7755737f10822003a3dd1870ac5a5c0b8eb
URL: https://github.com/llvm/llvm-project/commit/45fdb7755737f10822003a3dd1870ac5a5c0b8eb
DIFF: https://github.com/llvm/llvm-project/commit/45fdb7755737f10822003a3dd1870ac5a5c0b8eb.diff
LOG: [MCA][X86] Cleanup znver4 instregex patterns for (V)PMOV extension/truncation instructions
Split extension/truncation patterns to simplify matching.
Fix patterns to consistently match SSE/AVX1/AVX2 variants as well.
Add some missing src/dst type variants - there should be no difference in scheduling, its purely based on dst reg width.
Confirmed with Agner/uops.info
Noticed while triaging #110308
Added:
Modified:
llvm/lib/Target/X86/X86ScheduleZnver4.td
llvm/test/tools/llvm-mca/X86/Znver4/resources-avx1.s
llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512.s
llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512bw.s
llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512vl.s
llvm/test/tools/llvm-mca/X86/Znver4/resources-sse41.s
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ScheduleZnver4.td b/llvm/lib/Target/X86/X86ScheduleZnver4.td
index f2d0f4b1a0d28b..bb412fa88b0f12 100644
--- a/llvm/lib/Target/X86/X86ScheduleZnver4.td
+++ b/llvm/lib/Target/X86/X86ScheduleZnver4.td
@@ -1646,10 +1646,8 @@ def Zn4MOVS: SchedWriteRes<[Zn4FPFMisc12]> {
let NumMicroOps = 1;
}
def : InstRW<[Zn4MOVS], (instregex
- "(V?)PMOV(SX|ZX)(BD|BQ|BW|WD|WQ|DQ)(Z128?|Z256?)(rr|rrk|rrkz)",
- "(V?)PMOV(SX|QD|UZ|ZX)(BD|BQ|BW?)(Y|Z128?)(rr|rrk|rrkz)",
- "(V?)PMOV(SX|US|ZX)(DQ|WD|QW|WQ?)(Y|Z128?)(rr|rrk|rrkz)",
- "VPMOV(DB|DW|QB|QD|QW|SDB|SDW|SQB|SQD|SQW|SWB|USDB|USDW|USQB|USQD|USWB|WB)(Z128?|Z256?)(rr|rrk|rrkz)"
+ "(V?)PMOV(SX|ZX)(BD|BQ|BW|WD|WQ|DQ)(Y?|Z128?|Z256?)(rr|rrk|rrkz)",
+ "(V?)PMOV(S?|US?)(DB|DW|QB|QD|QW|WB)(Z128|Z256)(rr|rrk|rrkz)"
)>;
def Zn4MOVSZ: SchedWriteRes<[Zn4FPFMisc12]> {
@@ -1667,7 +1665,7 @@ def Zn4MOVSrr: SchedWriteRes<[Zn4FPFMisc12]> {
let NumMicroOps = 1;
}
def : InstRW<[Zn4MOVSrr], (instregex
- "(V?)PMOV(DB|QB|QW|SDB|SQB|SQW|USDB|USQB|USQW)Z(rr|rrk|rrkz)"
+ "(V?)PMOV(S?|US?)(DB|DW|QB|QD|QW|WB)Z(rr|rrk|rrkz)"
)>;
diff --git a/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx1.s b/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx1.s
index fee636be7ac9dd..1b2735a9cdde8a 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx1.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx1.s
@@ -1506,29 +1506,29 @@ vzeroupper
# CHECK-NEXT: 1 1 0.25 vpminuw %xmm0, %xmm1, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpminuw (%rax), %xmm1, %xmm2
# CHECK-NEXT: 1 1 1.00 vpmovmskb %xmm0, %ecx
-# CHECK-NEXT: 1 1 0.50 vpmovsxbd %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovsxbd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovsxbd (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovsxbq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovsxbq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovsxbq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovsxbw %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovsxbw %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovsxbw (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovsxdq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovsxdq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovsxdq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovsxwd %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovsxwd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovsxwd (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovsxwq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovsxwq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovsxwq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovzxbd %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovzxbd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovzxbd (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovzxbq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovzxbq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovzxbq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovzxbw %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovzxbw %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovzxbw (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovzxdq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovzxdq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovzxdq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovzxwd %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovzxwd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovzxwd (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 vpmovzxwq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 vpmovzxwq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * vpmovzxwq (%rax), %xmm2
# CHECK-NEXT: 1 3 0.50 vpmuldq %xmm0, %xmm1, %xmm2
# CHECK-NEXT: 1 10 0.50 * vpmuldq (%rax), %xmm1, %xmm2
diff --git a/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512.s b/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512.s
index 2c1af86822d099..ca0a81e4207d53 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512.s
@@ -1741,21 +1741,21 @@ vunpcklps (%rax){1to16}, %zmm17, %zmm19 {z}{k1}
# CHECK-NEXT: 1 5 2.50 vpmovdb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovdb %zmm19, (%rax) {%k1}
# CHECK-NEXT: 1 5 2.50 vpmovdb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovdw %zmm19, %ymm16
+# CHECK-NEXT: 1 5 2.50 vpmovdw %zmm19, %ymm16
# CHECK-NEXT: 1 11 1.50 * vpmovdw %zmm19, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovdw %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: 1 5 2.50 vpmovdw %zmm19, %ymm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovdw %zmm19, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovdw %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: 1 5 2.50 vpmovdw %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: 1 5 2.50 vpmovqb %zmm19, %xmm16
# CHECK-NEXT: 1 11 1.50 * vpmovqb %zmm19, (%rax)
# CHECK-NEXT: 1 5 2.50 vpmovqb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovqb %zmm19, (%rax) {%k1}
# CHECK-NEXT: 1 5 2.50 vpmovqb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovqd %zmm19, %ymm16
+# CHECK-NEXT: 1 5 2.50 vpmovqd %zmm19, %ymm16
# CHECK-NEXT: 1 11 1.50 * vpmovqd %zmm19, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovqd %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: 1 5 2.50 vpmovqd %zmm19, %ymm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovqd %zmm19, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovqd %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: 1 5 2.50 vpmovqd %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: 1 5 2.50 vpmovqw %zmm19, %xmm16
# CHECK-NEXT: 1 11 1.50 * vpmovqw %zmm19, (%rax)
# CHECK-NEXT: 1 5 2.50 vpmovqw %zmm19, %xmm16 {%k1}
@@ -1766,21 +1766,21 @@ vunpcklps (%rax){1to16}, %zmm17, %zmm19 {z}{k1}
# CHECK-NEXT: 1 5 2.50 vpmovsdb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovsdb %zmm19, (%rax) {%k1}
# CHECK-NEXT: 1 5 2.50 vpmovsdb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovsdw %zmm19, %ymm16
+# CHECK-NEXT: 1 5 2.50 vpmovsdw %zmm19, %ymm16
# CHECK-NEXT: 1 11 1.50 * vpmovsdw %zmm19, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovsdw %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: 1 5 2.50 vpmovsdw %zmm19, %ymm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovsdw %zmm19, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovsdw %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: 1 5 2.50 vpmovsdw %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: 1 5 2.50 vpmovsqb %zmm19, %xmm16
# CHECK-NEXT: 1 11 1.50 * vpmovsqb %zmm19, (%rax)
# CHECK-NEXT: 1 5 2.50 vpmovsqb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovsqb %zmm19, (%rax) {%k1}
# CHECK-NEXT: 1 5 2.50 vpmovsqb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovsqd %zmm19, %ymm16
+# CHECK-NEXT: 1 5 2.50 vpmovsqd %zmm19, %ymm16
# CHECK-NEXT: 1 11 1.50 * vpmovsqd %zmm19, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovsqd %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: 1 5 2.50 vpmovsqd %zmm19, %ymm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovsqd %zmm19, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovsqd %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: 1 5 2.50 vpmovsqd %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: 1 5 2.50 vpmovsqw %zmm19, %xmm16
# CHECK-NEXT: 1 11 1.50 * vpmovsqw %zmm19, (%rax)
# CHECK-NEXT: 1 5 2.50 vpmovsqw %zmm19, %xmm16 {%k1}
@@ -1821,21 +1821,21 @@ vunpcklps (%rax){1to16}, %zmm17, %zmm19 {z}{k1}
# CHECK-NEXT: 1 5 2.50 vpmovusdb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovusdb %zmm19, (%rax) {%k1}
# CHECK-NEXT: 1 5 2.50 vpmovusdb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovusdw %zmm19, %ymm16
+# CHECK-NEXT: 1 5 2.50 vpmovusdw %zmm19, %ymm16
# CHECK-NEXT: 1 11 1.50 * vpmovusdw %zmm19, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovusdw %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: 1 5 2.50 vpmovusdw %zmm19, %ymm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovusdw %zmm19, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovusdw %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: 1 5 2.50 vpmovusdw %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: 1 5 2.50 vpmovusqb %zmm19, %xmm16
# CHECK-NEXT: 1 11 1.50 * vpmovusqb %zmm19, (%rax)
# CHECK-NEXT: 1 5 2.50 vpmovusqb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovusqb %zmm19, (%rax) {%k1}
# CHECK-NEXT: 1 5 2.50 vpmovusqb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovusqd %zmm19, %ymm16
+# CHECK-NEXT: 1 5 2.50 vpmovusqd %zmm19, %ymm16
# CHECK-NEXT: 1 11 1.50 * vpmovusqd %zmm19, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovusqd %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: 1 5 2.50 vpmovusqd %zmm19, %ymm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovusqd %zmm19, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovusqd %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: 1 5 2.50 vpmovusqd %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: 1 5 2.50 vpmovusqw %zmm19, %xmm16
# CHECK-NEXT: 1 11 1.50 * vpmovusqw %zmm19, (%rax)
# CHECK-NEXT: 1 5 2.50 vpmovusqw %zmm19, %xmm16 {%k1}
@@ -2233,7 +2233,7 @@ vunpcklps (%rax){1to16}, %zmm17, %zmm19 {z}{k1}
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1]
-# CHECK-NEXT: 5.33 5.33 5.33 - - - - - 219.50 1198.50 756.00 351.00 312.50 312.50 17.00 215.67 215.67 215.67 204.67 204.67 204.67 16.50 16.50
+# CHECK-NEXT: 5.33 5.33 5.33 - - - - - 219.50 1216.50 774.00 351.00 312.50 312.50 17.00 215.67 215.67 215.67 204.67 204.67 204.67 16.50 16.50
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1] Instructions:
@@ -2798,21 +2798,21 @@ vunpcklps (%rax){1to16}, %zmm17, %zmm19 {z}{k1}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovdb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovdb %zmm19, (%rax) {%k1}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovdb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovdw %zmm19, %ymm16
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovdw %zmm19, %ymm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovdw %zmm19, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovdw %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovdw %zmm19, %ymm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovdw %zmm19, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovdw %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovdw %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovqb %zmm19, %xmm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovqb %zmm19, (%rax)
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovqb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovqb %zmm19, (%rax) {%k1}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovqb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovqd %zmm19, %ymm16
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovqd %zmm19, %ymm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovqd %zmm19, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovqd %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovqd %zmm19, %ymm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovqd %zmm19, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovqd %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovqd %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovqw %zmm19, %xmm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovqw %zmm19, (%rax)
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovqw %zmm19, %xmm16 {%k1}
@@ -2823,21 +2823,21 @@ vunpcklps (%rax){1to16}, %zmm17, %zmm19 {z}{k1}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsdb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsdb %zmm19, (%rax) {%k1}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsdb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovsdw %zmm19, %ymm16
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsdw %zmm19, %ymm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsdw %zmm19, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovsdw %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsdw %zmm19, %ymm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsdw %zmm19, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovsdw %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsdw %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsqb %zmm19, %xmm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsqb %zmm19, (%rax)
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsqb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsqb %zmm19, (%rax) {%k1}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsqb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovsqd %zmm19, %ymm16
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsqd %zmm19, %ymm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsqd %zmm19, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovsqd %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsqd %zmm19, %ymm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsqd %zmm19, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovsqd %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsqd %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsqw %zmm19, %xmm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsqw %zmm19, (%rax)
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovsqw %zmm19, %xmm16 {%k1}
@@ -2878,21 +2878,21 @@ vunpcklps (%rax){1to16}, %zmm17, %zmm19 {z}{k1}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusdb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusdb %zmm19, (%rax) {%k1}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusdb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovusdw %zmm19, %ymm16
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusdw %zmm19, %ymm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusdw %zmm19, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovusdw %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusdw %zmm19, %ymm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusdw %zmm19, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovusdw %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusdw %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusqb %zmm19, %xmm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusqb %zmm19, (%rax)
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusqb %zmm19, %xmm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusqb %zmm19, (%rax) {%k1}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusqb %zmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovusqd %zmm19, %ymm16
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusqd %zmm19, %ymm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusqd %zmm19, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovusqd %zmm19, %ymm16 {%k1}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusqd %zmm19, %ymm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusqd %zmm19, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovusqd %zmm19, %ymm16 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusqd %zmm19, %ymm16 {%k1} {z}
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusqw %zmm19, %xmm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusqw %zmm19, (%rax)
# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovusqw %zmm19, %xmm16 {%k1}
diff --git a/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512bw.s b/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512bw.s
index 64ea2597e1213f..3280ed3b8aab6f 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512bw.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512bw.s
@@ -918,21 +918,21 @@ vpunpcklwd (%rax), %zmm17, %zmm19 {z}{k1}
# CHECK-NEXT: 1 11 1.50 * vpmovsxbw (%rax), %zmm19 {%k1}
# CHECK-NEXT: 1 4 2.00 vpmovsxbw %ymm16, %zmm19 {%k1} {z}
# CHECK-NEXT: 1 11 1.50 * vpmovsxbw (%rax), %zmm19 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovswb %zmm16, %ymm19
+# CHECK-NEXT: 1 5 2.50 vpmovswb %zmm16, %ymm19
# CHECK-NEXT: 1 11 1.50 * vpmovswb %zmm16, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovswb %zmm16, %ymm19 {%k1}
+# CHECK-NEXT: 1 5 2.50 vpmovswb %zmm16, %ymm19 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovswb %zmm16, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovswb %zmm16, %ymm19 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovuswb %zmm16, %ymm19
+# CHECK-NEXT: 1 5 2.50 vpmovswb %zmm16, %ymm19 {%k1} {z}
+# CHECK-NEXT: 1 5 2.50 vpmovuswb %zmm16, %ymm19
# CHECK-NEXT: 1 11 1.50 * vpmovuswb %zmm16, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovuswb %zmm16, %ymm19 {%k1}
+# CHECK-NEXT: 1 5 2.50 vpmovuswb %zmm16, %ymm19 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovuswb %zmm16, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovuswb %zmm16, %ymm19 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovwb %zmm16, %ymm19
+# CHECK-NEXT: 1 5 2.50 vpmovuswb %zmm16, %ymm19 {%k1} {z}
+# CHECK-NEXT: 1 5 2.50 vpmovwb %zmm16, %ymm19
# CHECK-NEXT: 1 11 1.50 * vpmovwb %zmm16, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovwb %zmm16, %ymm19 {%k1}
+# CHECK-NEXT: 1 5 2.50 vpmovwb %zmm16, %ymm19 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovwb %zmm16, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovwb %zmm16, %ymm19 {%k1} {z}
+# CHECK-NEXT: 1 5 2.50 vpmovwb %zmm16, %ymm19 {%k1} {z}
# CHECK-NEXT: 1 4 2.00 vpmovzxbw %ymm16, %zmm19
# CHECK-NEXT: 1 11 1.50 * vpmovzxbw (%rax), %zmm19
# CHECK-NEXT: 1 4 2.00 vpmovzxbw %ymm16, %zmm19 {%k1}
@@ -1145,7 +1145,7 @@ vpunpcklwd (%rax), %zmm17, %zmm19 {z}{k1}
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1]
-# CHECK-NEXT: 0.67 0.67 0.67 2.00 2.00 2.00 2.00 - 177.50 313.50 279.00 161.00 123.00 123.00 6.00 77.33 77.33 77.33 75.33 75.33 75.33 3.00 3.00
+# CHECK-NEXT: 0.67 0.67 0.67 2.00 2.00 2.00 2.00 - 177.50 322.50 288.00 161.00 123.00 123.00 6.00 77.33 77.33 77.33 75.33 75.33 75.33 3.00 3.00
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1] Instructions:
@@ -1453,21 +1453,21 @@ vpunpcklwd (%rax), %zmm17, %zmm19 {z}{k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsxbw (%rax), %zmm19 {%k1}
# CHECK-NEXT: - - - - - - - - - 2.00 2.00 - - - - - - - - - - - - vpmovsxbw %ymm16, %zmm19 {%k1} {z}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovsxbw (%rax), %zmm19 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovswb %zmm16, %ymm19
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovswb %zmm16, %ymm19
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovswb %zmm16, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovswb %zmm16, %ymm19 {%k1}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovswb %zmm16, %ymm19 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovswb %zmm16, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovswb %zmm16, %ymm19 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovuswb %zmm16, %ymm19
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovswb %zmm16, %ymm19 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovuswb %zmm16, %ymm19
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovuswb %zmm16, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovuswb %zmm16, %ymm19 {%k1}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovuswb %zmm16, %ymm19 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovuswb %zmm16, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovuswb %zmm16, %ymm19 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovwb %zmm16, %ymm19
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovuswb %zmm16, %ymm19 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovwb %zmm16, %ymm19
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovwb %zmm16, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovwb %zmm16, %ymm19 {%k1}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovwb %zmm16, %ymm19 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovwb %zmm16, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovwb %zmm16, %ymm19 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 2.50 2.50 - - - - - - - - - - - - vpmovwb %zmm16, %ymm19 {%k1} {z}
# CHECK-NEXT: - - - - - - - - - 2.00 2.00 - - - - - - - - - - - - vpmovzxbw %ymm16, %zmm19
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovzxbw (%rax), %zmm19
# CHECK-NEXT: - - - - - - - - - 2.00 2.00 - - - - - - - - - - - - vpmovzxbw %ymm16, %zmm19 {%k1}
diff --git a/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512vl.s b/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512vl.s
index ce8b986b0f8b54..552b3e40284b9e 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512vl.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver4/resources-avx512vl.s
@@ -3169,11 +3169,11 @@ vunpcklps (%rax){1to8}, %ymm17, %ymm19 {z}{k1}
# CHECK-NEXT: 1 2 0.50 vpmovusqw %xmm19, %xmm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovusqw %xmm19, (%rax) {%k1}
# CHECK-NEXT: 1 2 0.50 vpmovusqw %xmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: 2 4 1.50 vpmovusqw %ymm19, %xmm16
+# CHECK-NEXT: 1 2 0.50 vpmovusqw %ymm19, %xmm16
# CHECK-NEXT: 1 11 1.50 * vpmovusqw %ymm19, (%rax)
-# CHECK-NEXT: 2 4 1.50 vpmovusqw %ymm19, %xmm16 {%k1}
+# CHECK-NEXT: 1 2 0.50 vpmovusqw %ymm19, %xmm16 {%k1}
# CHECK-NEXT: 1 11 1.50 * vpmovusqw %ymm19, (%rax) {%k1}
-# CHECK-NEXT: 2 4 1.50 vpmovusqw %ymm19, %xmm16 {%k1} {z}
+# CHECK-NEXT: 1 2 0.50 vpmovusqw %ymm19, %xmm16 {%k1} {z}
# CHECK-NEXT: 1 2 0.50 vpmovzxbd %xmm16, %xmm19
# CHECK-NEXT: 1 8 0.50 * vpmovzxbd (%rax), %xmm19
# CHECK-NEXT: 1 2 0.50 vpmovzxbd %xmm16, %xmm19 {%k1}
@@ -3614,7 +3614,7 @@ vunpcklps (%rax){1to8}, %ymm17, %ymm19 {z}{k1}
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1]
-# CHECK-NEXT: 10.67 10.67 10.67 - - - - - 208.00 1086.00 639.50 261.50 509.50 509.50 32.00 355.67 355.67 355.67 334.33 334.33 334.33 32.00 32.00
+# CHECK-NEXT: 10.67 10.67 10.67 - - - - - 208.00 1083.00 636.50 261.50 509.50 509.50 32.00 355.67 355.67 355.67 334.33 334.33 334.33 32.00 32.00
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1] Instructions:
@@ -4875,11 +4875,11 @@ vunpcklps (%rax){1to8}, %ymm17, %ymm19 {z}{k1}
# CHECK-NEXT: - - - - - - - - - 0.50 0.50 - - - - - - - - - - - - vpmovusqw %xmm19, %xmm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusqw %xmm19, (%rax) {%k1}
# CHECK-NEXT: - - - - - - - - - 0.50 0.50 - - - - - - - - - - - - vpmovusqw %xmm19, %xmm16 {%k1} {z}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovusqw %ymm19, %xmm16
+# CHECK-NEXT: - - - - - - - - - 0.50 0.50 - - - - - - - - - - - - vpmovusqw %ymm19, %xmm16
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusqw %ymm19, (%rax)
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovusqw %ymm19, %xmm16 {%k1}
+# CHECK-NEXT: - - - - - - - - - 0.50 0.50 - - - - - - - - - - - - vpmovusqw %ymm19, %xmm16 {%k1}
# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovusqw %ymm19, (%rax) {%k1}
-# CHECK-NEXT: - - - - - - - - - 1.50 1.50 - - - - - - - - - - - - vpmovusqw %ymm19, %xmm16 {%k1} {z}
+# CHECK-NEXT: - - - - - - - - - 0.50 0.50 - - - - - - - - - - - - vpmovusqw %ymm19, %xmm16 {%k1} {z}
# CHECK-NEXT: - - - - - - - - - 0.50 0.50 - - - - - - - - - - - - vpmovzxbd %xmm16, %xmm19
# CHECK-NEXT: - - - - - - - - - 0.50 0.50 - 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpmovzxbd (%rax), %xmm19
# CHECK-NEXT: - - - - - - - - - 0.50 0.50 - - - - - - - - - - - - vpmovzxbd %xmm16, %xmm19 {%k1}
diff --git a/llvm/test/tools/llvm-mca/X86/Znver4/resources-sse41.s b/llvm/test/tools/llvm-mca/X86/Znver4/resources-sse41.s
index f31eb7c2e6d6fb..b0321c13f48c56 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver4/resources-sse41.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver4/resources-sse41.s
@@ -213,29 +213,29 @@ roundss $1, (%rax), %xmm2
# CHECK-NEXT: 1 8 0.50 * pminud (%rax), %xmm2
# CHECK-NEXT: 1 1 0.25 pminuw %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pminuw (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovsxbd %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovsxbd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovsxbd (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovsxbq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovsxbq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovsxbq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovsxbw %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovsxbw %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovsxbw (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovsxdq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovsxdq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovsxdq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovsxwd %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovsxwd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovsxwd (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovsxwq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovsxwq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovsxwq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovzxbd %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovzxbd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovzxbd (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovzxbq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovzxbq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovzxbq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovzxbw %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovzxbw %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovzxbw (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovzxdq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovzxdq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovzxdq (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovzxwd %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovzxwd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovzxwd (%rax), %xmm2
-# CHECK-NEXT: 1 1 0.50 pmovzxwq %xmm0, %xmm2
+# CHECK-NEXT: 1 2 0.50 pmovzxwq %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * pmovzxwq (%rax), %xmm2
# CHECK-NEXT: 1 3 0.50 pmuldq %xmm0, %xmm2
# CHECK-NEXT: 1 10 0.50 * pmuldq (%rax), %xmm2
More information about the llvm-commits
mailing list