[llvm] 6fff3ba - Revert rG244331ae833aaf33503bbd36890e704afb66a237 "[X86] Fix scalar load latencies for WriteLoad scheduler class"
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 6 05:16:40 PST 2022
Author: Simon Pilgrim
Date: 2022-11-06T13:16:23Z
New Revision: 6fff3babb426c7274268a9b4a93203323882444e
URL: https://github.com/llvm/llvm-project/commit/6fff3babb426c7274268a9b4a93203323882444e
DIFF: https://github.com/llvm/llvm-project/commit/6fff3babb426c7274268a9b4a93203323882444e.diff
LOG: Revert rG244331ae833aaf33503bbd36890e704afb66a237 "[X86] Fix scalar load latencies for WriteLoad scheduler class"
Forgot to update tests outside the llvm-mca test folder :-(
Added:
Modified:
llvm/lib/Target/X86/X86ScheduleAtom.td
llvm/lib/Target/X86/X86ScheduleZnver1.td
llvm/lib/Target/X86/X86ScheduleZnver2.td
llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s
llvm/test/tools/llvm-mca/X86/Atom/resources-sse2.s
llvm/test/tools/llvm-mca/X86/Atom/resources-x87.s
llvm/test/tools/llvm-mca/X86/Znver1/resources-clflushopt.s
llvm/test/tools/llvm-mca/X86/Znver1/resources-clzero.s
llvm/test/tools/llvm-mca/X86/Znver1/resources-prefetchw.s
llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s
llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s
llvm/test/tools/llvm-mca/X86/Znver1/resources-x86_64.s
llvm/test/tools/llvm-mca/X86/Znver1/resources-x87.s
llvm/test/tools/llvm-mca/X86/Znver2/resources-clflushopt.s
llvm/test/tools/llvm-mca/X86/Znver2/resources-clzero.s
llvm/test/tools/llvm-mca/X86/Znver2/resources-prefetchw.s
llvm/test/tools/llvm-mca/X86/Znver2/resources-sse1.s
llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s
llvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s
llvm/test/tools/llvm-mca/X86/Znver2/resources-x87.s
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ScheduleAtom.td b/llvm/lib/Target/X86/X86ScheduleAtom.td
index 85e08b93a4a6c..09a09185b3bcd 100644
--- a/llvm/lib/Target/X86/X86ScheduleAtom.td
+++ b/llvm/lib/Target/X86/X86ScheduleAtom.td
@@ -168,7 +168,7 @@ defm : X86WriteRes<WriteSHDmrcl,[AtomPort01], 4, [4], 1>;
// Loads, stores, and moves, not folded with other operations.
////////////////////////////////////////////////////////////////////////////////
-def : WriteRes<WriteLoad, [AtomPort0]> { let Latency = 3; }
+def : WriteRes<WriteLoad, [AtomPort0]>;
def : WriteRes<WriteStore, [AtomPort0]>;
def : WriteRes<WriteStoreNT, [AtomPort0]>;
def : WriteRes<WriteMove, [AtomPort01]>;
diff --git a/llvm/lib/Target/X86/X86ScheduleZnver1.td b/llvm/lib/Target/X86/X86ScheduleZnver1.td
index d6ea83b52257d..78b32953cdf80 100644
--- a/llvm/lib/Target/X86/X86ScheduleZnver1.td
+++ b/llvm/lib/Target/X86/X86ScheduleZnver1.td
@@ -177,7 +177,7 @@ def : WriteRes<WriteRMW, [ZnAGU]>;
def : WriteRes<WriteStore, [ZnAGU]>;
def : WriteRes<WriteStoreNT, [ZnAGU]>;
def : WriteRes<WriteMove, [ZnALU]>;
-def : WriteRes<WriteLoad, [ZnAGU]> { let Latency = 4; }
+def : WriteRes<WriteLoad, [ZnAGU]> { let Latency = 8; }
// Model the effect of clobbering the read-write mask operand of the GATHER operation.
// Does not cost anything by itself, only has latency, matching that of the WriteLoad,
diff --git a/llvm/lib/Target/X86/X86ScheduleZnver2.td b/llvm/lib/Target/X86/X86ScheduleZnver2.td
index 9ebedb76b9e37..d6b0d2dd191a1 100644
--- a/llvm/lib/Target/X86/X86ScheduleZnver2.td
+++ b/llvm/lib/Target/X86/X86ScheduleZnver2.td
@@ -176,7 +176,7 @@ def : WriteRes<WriteRMW, [Zn2AGU]>;
def : WriteRes<WriteStore, [Zn2AGU]>;
def : WriteRes<WriteStoreNT, [Zn2AGU]>;
def : WriteRes<WriteMove, [Zn2ALU]>;
-def : WriteRes<WriteLoad, [Zn2AGU]> { let Latency = 4; }
+def : WriteRes<WriteLoad, [Zn2AGU]> { let Latency = 8; }
// Model the effect of clobbering the read-write mask operand of the GATHER operation.
// Does not cost anything by itself, only has latency, matching that of the WriteLoad,
diff --git a/llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s
index 9a60718100851..25011cd1aea89 100644
--- a/llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s
+++ b/llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s
@@ -282,10 +282,10 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 1 3 3.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 4 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 1 4 1.00 * pmulhuw (%rax), %mm2
-# CHECK-NEXT: 1 3 1.00 * * prefetcht0 (%rax)
-# CHECK-NEXT: 1 3 1.00 * * prefetcht1 (%rax)
-# CHECK-NEXT: 1 3 1.00 * * prefetcht2 (%rax)
-# CHECK-NEXT: 1 3 1.00 * * prefetchnta (%rax)
+# CHECK-NEXT: 1 1 1.00 * * prefetcht0 (%rax)
+# CHECK-NEXT: 1 1 1.00 * * prefetcht1 (%rax)
+# CHECK-NEXT: 1 1 1.00 * * prefetcht2 (%rax)
+# CHECK-NEXT: 1 1 1.00 * * prefetchnta (%rax)
# CHECK-NEXT: 1 4 1.00 psadbw %mm0, %mm2
# CHECK-NEXT: 1 4 1.00 * psadbw (%rax), %mm2
# CHECK-NEXT: 1 1 1.00 pshufw $1, %mm0, %mm2
diff --git a/llvm/test/tools/llvm-mca/X86/Atom/resources-sse2.s b/llvm/test/tools/llvm-mca/X86/Atom/resources-sse2.s
index 65d785038f32c..82d40dca00f7c 100644
--- a/llvm/test/tools/llvm-mca/X86/Atom/resources-sse2.s
+++ b/llvm/test/tools/llvm-mca/X86/Atom/resources-sse2.s
@@ -415,7 +415,7 @@ xorpd (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 * andnpd (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 andpd %xmm0, %xmm2
# CHECK-NEXT: 1 1 1.00 * andpd (%rax), %xmm2
-# CHECK-NEXT: 1 3 1.00 * * U clflush (%rax)
+# CHECK-NEXT: 1 1 1.00 * * U clflush (%rax)
# CHECK-NEXT: 3 6 5.00 cmpeqpd %xmm0, %xmm2
# CHECK-NEXT: 4 7 6.00 * cmpeqpd (%rax), %xmm2
# CHECK-NEXT: 1 5 1.00 cmpeqsd %xmm0, %xmm2
diff --git a/llvm/test/tools/llvm-mca/X86/Atom/resources-x87.s b/llvm/test/tools/llvm-mca/X86/Atom/resources-x87.s
index ead0c4268759e..07e8531e30e45 100644
--- a/llvm/test/tools/llvm-mca/X86/Atom/resources-x87.s
+++ b/llvm/test/tools/llvm-mca/X86/Atom/resources-x87.s
@@ -276,8 +276,8 @@ fyl2xp1
# CHECK-NEXT: 1 2 1.00 * U fisttpl (%ecx)
# CHECK-NEXT: 1 2 1.00 * U fisttpll (%eax)
# CHECK-NEXT: 1 1 1.00 U fld %st(0)
-# CHECK-NEXT: 1 3 1.00 * U flds (%edx)
-# CHECK-NEXT: 1 3 1.00 * U fldl (%ecx)
+# CHECK-NEXT: 1 1 1.00 * U flds (%edx)
+# CHECK-NEXT: 1 1 1.00 * U fldl (%ecx)
# CHECK-NEXT: 1 4 2.00 * U fldt (%eax)
# CHECK-NEXT: 1 5 2.50 * U fldcw (%eax)
# CHECK-NEXT: 1 100 0.50 * U fldenv (%eax)
diff --git a/llvm/test/tools/llvm-mca/X86/Znver1/resources-clflushopt.s b/llvm/test/tools/llvm-mca/X86/Znver1/resources-clflushopt.s
index 4c16bafb6377d..733aec155ec49 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver1/resources-clflushopt.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver1/resources-clflushopt.s
@@ -12,7 +12,7 @@ clflushopt (%rax)
# CHECK-NEXT: [6]: HasSideEffects (U)
# CHECK: [1] [2] [3] [4] [5] [6] Instructions:
-# CHECK-NEXT: 1 4 0.50 * * U clflushopt (%rax)
+# CHECK-NEXT: 1 8 0.50 * * U clflushopt (%rax)
# CHECK: Resources:
# CHECK-NEXT: [0] - ZnAGU0
diff --git a/llvm/test/tools/llvm-mca/X86/Znver1/resources-clzero.s b/llvm/test/tools/llvm-mca/X86/Znver1/resources-clzero.s
index 70502433eefc7..420942130645b 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver1/resources-clzero.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver1/resources-clzero.s
@@ -12,7 +12,7 @@ clzero
# CHECK-NEXT: [6]: HasSideEffects (U)
# CHECK: [1] [2] [3] [4] [5] [6] Instructions:
-# CHECK-NEXT: 1 4 0.50 U clzero
+# CHECK-NEXT: 1 8 0.50 U clzero
# CHECK: Resources:
# CHECK-NEXT: [0] - ZnAGU0
diff --git a/llvm/test/tools/llvm-mca/X86/Znver1/resources-prefetchw.s b/llvm/test/tools/llvm-mca/X86/Znver1/resources-prefetchw.s
index 7f5ec3104f09d..47a52fb06385a 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver1/resources-prefetchw.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver1/resources-prefetchw.s
@@ -13,8 +13,8 @@ prefetchw (%rax)
# CHECK-NEXT: [6]: HasSideEffects (U)
# CHECK: [1] [2] [3] [4] [5] [6] Instructions:
-# CHECK-NEXT: 1 4 0.50 * * prefetch (%rax)
-# CHECK-NEXT: 1 4 0.50 * * prefetchw (%rax)
+# CHECK-NEXT: 1 8 0.50 * * prefetch (%rax)
+# CHECK-NEXT: 1 8 0.50 * * prefetchw (%rax)
# CHECK: Resources:
# CHECK-NEXT: [0] - ZnAGU0
diff --git a/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s
index 3bf248b044b85..5616e648f4314 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s
@@ -282,10 +282,10 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 4 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 1 11 1.00 * pmulhuw (%rax), %mm2
-# CHECK-NEXT: 1 4 0.50 * * prefetcht0 (%rax)
-# CHECK-NEXT: 1 4 0.50 * * prefetcht1 (%rax)
-# CHECK-NEXT: 1 4 0.50 * * prefetcht2 (%rax)
-# CHECK-NEXT: 1 4 0.50 * * prefetchnta (%rax)
+# CHECK-NEXT: 1 8 0.50 * * prefetcht0 (%rax)
+# CHECK-NEXT: 1 8 0.50 * * prefetcht1 (%rax)
+# CHECK-NEXT: 1 8 0.50 * * prefetcht2 (%rax)
+# CHECK-NEXT: 1 8 0.50 * * prefetchnta (%rax)
# CHECK-NEXT: 1 3 1.00 psadbw %mm0, %mm2
# CHECK-NEXT: 1 10 1.00 * psadbw (%rax), %mm2
# CHECK-NEXT: 1 1 0.50 pshufw $1, %mm0, %mm2
diff --git a/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s b/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s
index c6bfe9a12137b..1db51b7b65147 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s
@@ -415,7 +415,7 @@ xorpd (%rax), %xmm2
# CHECK-NEXT: 1 8 0.50 * andnpd (%rax), %xmm2
# CHECK-NEXT: 1 1 0.25 andpd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * andpd (%rax), %xmm2
-# CHECK-NEXT: 1 4 0.50 * * U clflush (%rax)
+# CHECK-NEXT: 1 8 0.50 * * U clflush (%rax)
# CHECK-NEXT: 1 1 0.50 cmpeqpd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * cmpeqpd (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 cmpeqsd %xmm0, %xmm2
diff --git a/llvm/test/tools/llvm-mca/X86/Znver1/resources-x86_64.s b/llvm/test/tools/llvm-mca/X86/Znver1/resources-x86_64.s
index 7eadac52bfb3a..b190803318a10 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver1/resources-x86_64.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver1/resources-x86_64.s
@@ -1400,16 +1400,16 @@ xorq (%rax), %rdi
# CHECK-NEXT: 2 5 0.50 * movzbw (%rax), %di
# CHECK-NEXT: 1 1 0.25 movsbl %al, %edi
# CHECK-NEXT: 1 1 0.25 movzbl %al, %edi
-# CHECK-NEXT: 1 4 0.50 * movsbl (%rax), %edi
-# CHECK-NEXT: 1 4 0.50 * movzbl (%rax), %edi
+# CHECK-NEXT: 1 8 0.50 * movsbl (%rax), %edi
+# CHECK-NEXT: 1 8 0.50 * movzbl (%rax), %edi
# CHECK-NEXT: 1 1 0.25 movsbq %al, %rdi
# CHECK-NEXT: 1 1 0.25 movzbq %al, %rdi
# CHECK-NEXT: 2 5 0.50 * movsbq (%rax), %rdi
# CHECK-NEXT: 2 5 0.50 * movzbq (%rax), %rdi
# CHECK-NEXT: 1 1 0.25 movswl %ax, %edi
# CHECK-NEXT: 1 1 0.25 movzwl %ax, %edi
-# CHECK-NEXT: 1 4 0.50 * movswl (%rax), %edi
-# CHECK-NEXT: 1 4 0.50 * movzwl (%rax), %edi
+# CHECK-NEXT: 1 8 0.50 * movswl (%rax), %edi
+# CHECK-NEXT: 1 8 0.50 * movzwl (%rax), %edi
# CHECK-NEXT: 1 1 0.25 movswq %ax, %rdi
# CHECK-NEXT: 1 1 0.25 movzwq %ax, %rdi
# CHECK-NEXT: 2 5 0.50 * movswq (%rax), %rdi
diff --git a/llvm/test/tools/llvm-mca/X86/Znver1/resources-x87.s b/llvm/test/tools/llvm-mca/X86/Znver1/resources-x87.s
index 6cfa018e6dbca..0c26a40849d62 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver1/resources-x87.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver1/resources-x87.s
@@ -276,8 +276,8 @@ fyl2xp1
# CHECK-NEXT: 1 12 0.50 * U fisttpl (%ecx)
# CHECK-NEXT: 1 12 0.50 * U fisttpll (%eax)
# CHECK-NEXT: 1 1 0.50 U fld %st(0)
-# CHECK-NEXT: 1 4 0.50 * U flds (%edx)
-# CHECK-NEXT: 1 4 0.50 * U fldl (%ecx)
+# CHECK-NEXT: 1 8 0.50 * U flds (%edx)
+# CHECK-NEXT: 1 8 0.50 * U fldl (%ecx)
# CHECK-NEXT: 2 1 0.50 * U fldt (%eax)
# CHECK-NEXT: 1 100 0.25 * U fldcw (%eax)
# CHECK-NEXT: 1 100 0.25 * U fldenv (%eax)
diff --git a/llvm/test/tools/llvm-mca/X86/Znver2/resources-clflushopt.s b/llvm/test/tools/llvm-mca/X86/Znver2/resources-clflushopt.s
index 671381f78a953..461c0109254e1 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver2/resources-clflushopt.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver2/resources-clflushopt.s
@@ -12,7 +12,7 @@ clflushopt (%rax)
# CHECK-NEXT: [6]: HasSideEffects (U)
# CHECK: [1] [2] [3] [4] [5] [6] Instructions:
-# CHECK-NEXT: 1 4 0.33 * * U clflushopt (%rax)
+# CHECK-NEXT: 1 8 0.33 * * U clflushopt (%rax)
# CHECK: Resources:
# CHECK-NEXT: [0] - Zn2AGU0
diff --git a/llvm/test/tools/llvm-mca/X86/Znver2/resources-clzero.s b/llvm/test/tools/llvm-mca/X86/Znver2/resources-clzero.s
index 12c4f757551b1..83de8d3a691d6 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver2/resources-clzero.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver2/resources-clzero.s
@@ -12,7 +12,7 @@ clzero
# CHECK-NEXT: [6]: HasSideEffects (U)
# CHECK: [1] [2] [3] [4] [5] [6] Instructions:
-# CHECK-NEXT: 1 4 0.33 U clzero
+# CHECK-NEXT: 1 8 0.33 U clzero
# CHECK: Resources:
# CHECK-NEXT: [0] - Zn2AGU0
diff --git a/llvm/test/tools/llvm-mca/X86/Znver2/resources-prefetchw.s b/llvm/test/tools/llvm-mca/X86/Znver2/resources-prefetchw.s
index b405f4c29e0f0..2e240b3af8e83 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver2/resources-prefetchw.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver2/resources-prefetchw.s
@@ -13,8 +13,8 @@ prefetchw (%rax)
# CHECK-NEXT: [6]: HasSideEffects (U)
# CHECK: [1] [2] [3] [4] [5] [6] Instructions:
-# CHECK-NEXT: 1 4 0.33 * * prefetch (%rax)
-# CHECK-NEXT: 1 4 0.33 * * prefetchw (%rax)
+# CHECK-NEXT: 1 8 0.33 * * prefetch (%rax)
+# CHECK-NEXT: 1 8 0.33 * * prefetchw (%rax)
# CHECK: Resources:
# CHECK-NEXT: [0] - Zn2AGU0
diff --git a/llvm/test/tools/llvm-mca/X86/Znver2/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/Znver2/resources-sse1.s
index 64c3ae95ba0d4..030b6521d628e 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver2/resources-sse1.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver2/resources-sse1.s
@@ -282,10 +282,10 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 4 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 1 11 1.00 * pmulhuw (%rax), %mm2
-# CHECK-NEXT: 1 4 0.33 * * prefetcht0 (%rax)
-# CHECK-NEXT: 1 4 0.33 * * prefetcht1 (%rax)
-# CHECK-NEXT: 1 4 0.33 * * prefetcht2 (%rax)
-# CHECK-NEXT: 1 4 0.33 * * prefetchnta (%rax)
+# CHECK-NEXT: 1 8 0.33 * * prefetcht0 (%rax)
+# CHECK-NEXT: 1 8 0.33 * * prefetcht1 (%rax)
+# CHECK-NEXT: 1 8 0.33 * * prefetcht2 (%rax)
+# CHECK-NEXT: 1 8 0.33 * * prefetchnta (%rax)
# CHECK-NEXT: 1 3 1.00 psadbw %mm0, %mm2
# CHECK-NEXT: 1 10 1.00 * psadbw (%rax), %mm2
# CHECK-NEXT: 1 1 0.50 pshufw $1, %mm0, %mm2
diff --git a/llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s b/llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s
index 9a465802f8b17..a0535cfa0d02d 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s
@@ -415,7 +415,7 @@ xorpd (%rax), %xmm2
# CHECK-NEXT: 1 8 0.33 * andnpd (%rax), %xmm2
# CHECK-NEXT: 1 1 0.25 andpd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.33 * andpd (%rax), %xmm2
-# CHECK-NEXT: 1 4 0.33 * * U clflush (%rax)
+# CHECK-NEXT: 1 8 0.33 * * U clflush (%rax)
# CHECK-NEXT: 1 1 0.50 cmpeqpd %xmm0, %xmm2
# CHECK-NEXT: 1 8 0.50 * cmpeqpd (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 cmpeqsd %xmm0, %xmm2
diff --git a/llvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s b/llvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s
index 3cd41c176ce04..7ccf6efb43e36 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s
@@ -1202,16 +1202,16 @@ xorq (%rax), %rdi
# CHECK-NEXT: 2 5 0.33 * movzbw (%rax), %di
# CHECK-NEXT: 1 1 0.25 movsbl %al, %edi
# CHECK-NEXT: 1 1 0.25 movzbl %al, %edi
-# CHECK-NEXT: 1 4 0.33 * movsbl (%rax), %edi
-# CHECK-NEXT: 1 4 0.33 * movzbl (%rax), %edi
+# CHECK-NEXT: 1 8 0.33 * movsbl (%rax), %edi
+# CHECK-NEXT: 1 8 0.33 * movzbl (%rax), %edi
# CHECK-NEXT: 1 1 0.25 movsbq %al, %rdi
# CHECK-NEXT: 1 1 0.25 movzbq %al, %rdi
# CHECK-NEXT: 2 5 0.33 * movsbq (%rax), %rdi
# CHECK-NEXT: 2 5 0.33 * movzbq (%rax), %rdi
# CHECK-NEXT: 1 1 0.25 movswl %ax, %edi
# CHECK-NEXT: 1 1 0.25 movzwl %ax, %edi
-# CHECK-NEXT: 1 4 0.33 * movswl (%rax), %edi
-# CHECK-NEXT: 1 4 0.33 * movzwl (%rax), %edi
+# CHECK-NEXT: 1 8 0.33 * movswl (%rax), %edi
+# CHECK-NEXT: 1 8 0.33 * movzwl (%rax), %edi
# CHECK-NEXT: 1 1 0.25 movswq %ax, %rdi
# CHECK-NEXT: 1 1 0.25 movzwq %ax, %rdi
# CHECK-NEXT: 2 5 0.33 * movswq (%rax), %rdi
diff --git a/llvm/test/tools/llvm-mca/X86/Znver2/resources-x87.s b/llvm/test/tools/llvm-mca/X86/Znver2/resources-x87.s
index 1987176040002..be542ecb2debc 100644
--- a/llvm/test/tools/llvm-mca/X86/Znver2/resources-x87.s
+++ b/llvm/test/tools/llvm-mca/X86/Znver2/resources-x87.s
@@ -276,8 +276,8 @@ fyl2xp1
# CHECK-NEXT: 1 12 0.50 * U fisttpl (%ecx)
# CHECK-NEXT: 1 12 0.50 * U fisttpll (%eax)
# CHECK-NEXT: 1 1 0.50 U fld %st(0)
-# CHECK-NEXT: 1 4 0.33 * U flds (%edx)
-# CHECK-NEXT: 1 4 0.33 * U fldl (%ecx)
+# CHECK-NEXT: 1 8 0.33 * U flds (%edx)
+# CHECK-NEXT: 1 8 0.33 * U fldl (%ecx)
# CHECK-NEXT: 2 1 0.50 * U fldt (%eax)
# CHECK-NEXT: 1 100 0.25 * U fldcw (%eax)
# CHECK-NEXT: 1 100 0.25 * U fldenv (%eax)
More information about the llvm-commits
mailing list