[llvm] r359477 - [llvm-mca][x86] Fix MMX PMOVMSKB test
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 29 11:24:34 PDT 2019
Author: rksimon
Date: Mon Apr 29 11:24:30 2019
New Revision: 359477
URL: http://llvm.org/viewvc/llvm-project?rev=359477&view=rev
Log:
[llvm-mca][x86] Fix MMX PMOVMSKB test
This is defined as part of SSE1, XMM PMOVMSKB doesn't appear until SSE2
Modified:
llvm/trunk/test/tools/llvm-mca/X86/Atom/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/Generic/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/Haswell/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/SLM/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s
llvm/trunk/test/tools/llvm-mca/X86/Znver1/resources-sse1.s
Modified: llvm/trunk/test/tools/llvm-mca/X86/Atom/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/Atom/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/Atom/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/Atom/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 1 0.50 pminub %mm0, %mm2
# CHECK-NEXT: 1 1 1.00 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 3 3.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1 3 3.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 4 4.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 1 4 4.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 1 1.00 * * prefetcht0 (%rax)
@@ -414,7 +414,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 1.00 - pminsw (%rax), %mm2
# CHECK-NEXT: 0.50 0.50 pminub %mm0, %mm2
# CHECK-NEXT: 1.00 - pminub (%rax), %mm2
-# CHECK-NEXT: 3.00 - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 3.00 - pmovmskb %mm0, %ecx
# CHECK-NEXT: 4.00 - pmulhuw %mm0, %mm2
# CHECK-NEXT: 4.00 - pmulhuw (%rax), %mm2
# CHECK-NEXT: 1.00 - prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 1 7 0.50 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 2 0.50 pminub %mm0, %mm2
# CHECK-NEXT: 1 7 0.50 * pminub (%rax), %mm2
-# CHECK-NEXT: 2 12 1.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 2 10 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 4 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 1 9 1.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 5 0.50 * * prefetcht0 (%rax)
@@ -435,7 +435,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 0.50 0.50 - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - 0.50 0.50 - - pminsw (%rax), %mm2
# CHECK-NEXT: - - - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - - - - - pminub %mm0, %mm2
# CHECK-NEXT: 0.50 0.50 - - - - - - - - 0.50 0.50 - - 0.50 0.50 - - - 0.50 0.50 - - pminub (%rax), %mm2
-# CHECK-NEXT: - - - - - 1.00 - - 0.50 0.50 - - - - 1.00 - - - - - - - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: - - - - - 1.00 - - 0.50 0.50 - - - - 1.00 - - - - - - - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - - - - - - - - - - - 1.00 - 1.00 - - - - - - - - pmulhuw %mm0, %mm2
# CHECK-NEXT: 0.50 0.50 - - - - - - - - - - 1.00 - 1.00 - - - - 0.50 0.50 - - pmulhuw (%rax), %mm2
# CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - - - - - - - 0.50 0.50 - - prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 2 6 0.50 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 1 0.50 pminub %mm0, %mm2
# CHECK-NEXT: 2 6 0.50 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 3 1.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1 1 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 5 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 2 10 1.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 5 0.50 * * prefetcht0 (%rax)
@@ -422,7 +422,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pminsw (%rax), %mm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pminub %mm0, %mm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pminub (%rax), %mm2
-# CHECK-NEXT: - - 1.00 - - - - - - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: - - 1.00 - - - - - - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - 1.00 - - - - - - - pmulhuw %mm0, %mm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pmulhuw (%rax), %mm2
# CHECK-NEXT: - - - - 0.50 0.50 - - - - prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 1 6 1.00 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 1 0.50 pminub %mm0, %mm2
# CHECK-NEXT: 1 6 1.00 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 3 1.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1 3 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 2 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 1 7 1.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 3 1.00 * * prefetcht0 (%rax)
@@ -426,7 +426,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: - - - - - 0.50 0.50 1.00 - - - 0.50 0.50 - pminsw (%rax), %mm2
# CHECK-NEXT: - - - - - 0.50 0.50 - - - - 0.50 0.50 - pminub %mm0, %mm2
# CHECK-NEXT: - - - - - 0.50 0.50 1.00 - - - 0.50 0.50 - pminub (%rax), %mm2
-# CHECK-NEXT: 1.00 - - 1.00 - 1.00 - - - - - - - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1.00 - - 1.00 - 1.00 - - - - - - - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - - - - 1.00 - - - - - - - 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: - - - - - 1.00 - 1.00 - - - - - 1.00 pmulhuw (%rax), %mm2
# CHECK-NEXT: - - - - - - - 1.00 - - - - - - prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/Generic/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/Generic/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/Generic/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/Generic/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 2 8 1.00 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 3 1.00 pminub %mm0, %mm2
# CHECK-NEXT: 2 8 1.00 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 2 1.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1 1 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 5 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 2 10 1.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 5 0.50 * * prefetcht0 (%rax)
@@ -420,7 +420,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: - - - 1.00 - - 0.50 0.50 pminsw (%rax), %mm2
# CHECK-NEXT: - - - 1.00 - - - - pminub %mm0, %mm2
# CHECK-NEXT: - - - 1.00 - - 0.50 0.50 pminub (%rax), %mm2
-# CHECK-NEXT: - - 1.00 - - - - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: - - 1.00 - - - - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - 1.00 - - - - - pmulhuw %mm0, %mm2
# CHECK-NEXT: - - 1.00 - - - 0.50 0.50 pmulhuw (%rax), %mm2
# CHECK-NEXT: - - - - - - 0.50 0.50 prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/Haswell/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/Haswell/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/Haswell/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/Haswell/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 2 6 0.50 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 1 0.50 pminub %mm0, %mm2
# CHECK-NEXT: 2 6 0.50 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 3 1.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1 1 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 5 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 2 10 1.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 5 0.50 * * prefetcht0 (%rax)
@@ -422,7 +422,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pminsw (%rax), %mm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pminub %mm0, %mm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pminub (%rax), %mm2
-# CHECK-NEXT: - - 1.00 - - - - - - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: - - 1.00 - - - - - - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - 1.00 - - - - - - - pmulhuw %mm0, %mm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pmulhuw (%rax), %mm2
# CHECK-NEXT: - - - - 0.50 0.50 - - - - prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/SLM/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/SLM/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/SLM/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/SLM/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 1 4 1.00 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 1 0.50 pminub %mm0, %mm2
# CHECK-NEXT: 1 4 1.00 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 4 1.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1 4 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 4 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 1 7 1.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 3 1.00 * * prefetcht0 (%rax)
@@ -420,7 +420,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 0.50 - - 1.00 pminsw (%rax), %mm2
# CHECK-NEXT: - - - 0.50 0.50 - - - pminub %mm0, %mm2
# CHECK-NEXT: - - - 0.50 0.50 - - 1.00 pminub (%rax), %mm2
-# CHECK-NEXT: - - - - 1.00 - - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: - - - - 1.00 - - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - - 1.00 - - - - pmulhuw %mm0, %mm2
# CHECK-NEXT: - - - 1.00 - - - 1.00 pmulhuw (%rax), %mm2
# CHECK-NEXT: - - - - - - - 1.00 prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 2 8 1.00 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 3 1.00 pminub %mm0, %mm2
# CHECK-NEXT: 2 8 1.00 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 2 1.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1 1 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 5 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 2 10 1.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 5 0.50 * * prefetcht0 (%rax)
@@ -420,7 +420,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: - - - 1.00 - - 0.50 0.50 pminsw (%rax), %mm2
# CHECK-NEXT: - - - 1.00 - - - - pminub %mm0, %mm2
# CHECK-NEXT: - - - 1.00 - - 0.50 0.50 pminub (%rax), %mm2
-# CHECK-NEXT: - - 1.00 - - - - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: - - 1.00 - - - - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - 1.00 - - - - - pmulhuw %mm0, %mm2
# CHECK-NEXT: - - 1.00 - - - 0.50 0.50 pmulhuw (%rax), %mm2
# CHECK-NEXT: - - - - - - 0.50 0.50 prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 2 6 1.00 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 1 1.00 pminub %mm0, %mm2
# CHECK-NEXT: 2 6 1.00 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 2 1.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1 2 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 4 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 2 9 1.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 5 0.50 * * prefetcht0 (%rax)
@@ -422,7 +422,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pminsw (%rax), %mm2
# CHECK-NEXT: - - 1.00 - - - - - - - pminub %mm0, %mm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pminub (%rax), %mm2
-# CHECK-NEXT: - - 1.00 - - - - - - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: - - 1.00 - - - - - - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - 1.00 - - - - - - - pmulhuw %mm0, %mm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pmulhuw (%rax), %mm2
# CHECK-NEXT: - - - - 0.50 0.50 - - - - prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 2 6 1.00 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 1 1.00 pminub %mm0, %mm2
# CHECK-NEXT: 2 6 1.00 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 2 1.00 pmovmskb %xmm0, %ecx
+# CHECK-NEXT: 1 2 1.00 pmovmskb %mm0, %ecx
# CHECK-NEXT: 1 4 1.00 pmulhuw %mm0, %mm2
# CHECK-NEXT: 2 9 1.00 * pmulhuw (%rax), %mm2
# CHECK-NEXT: 1 5 0.50 * * prefetcht0 (%rax)
@@ -422,7 +422,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pminsw (%rax), %mm2
# CHECK-NEXT: - - 1.00 - - - - - - - pminub %mm0, %mm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pminub (%rax), %mm2
-# CHECK-NEXT: - - 1.00 - - - - - - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: - - 1.00 - - - - - - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - 1.00 - - - - - - - pmulhuw %mm0, %mm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pmulhuw (%rax), %mm2
# CHECK-NEXT: - - - - 0.50 0.50 - - - - prefetcht0 (%rax)
Modified: llvm/trunk/test/tools/llvm-mca/X86/Znver1/resources-sse1.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/X86/Znver1/resources-sse1.s?rev=359477&r1=359476&r2=359477&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/X86/Znver1/resources-sse1.s (original)
+++ llvm/trunk/test/tools/llvm-mca/X86/Znver1/resources-sse1.s Mon Apr 29 11:24:30 2019
@@ -126,7 +126,7 @@ pminsw (%rax), %mm2
pminub %mm0, %mm2
pminub (%rax), %mm2
-pmovmskb %xmm0, %rcx
+pmovmskb %mm0, %rcx
pmulhuw %mm0, %mm2
pmulhuw (%rax), %mm2
@@ -279,7 +279,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 1 8 0.50 * pminsw (%rax), %mm2
# CHECK-NEXT: 1 1 0.25 pminub %mm0, %mm2
# CHECK-NEXT: 1 8 0.50 * pminub (%rax), %mm2
-# CHECK-NEXT: 1 1 1.00 pmovmskb %xmm0, %ecx
+# 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 8 0.50 * * prefetcht0 (%rax)
@@ -424,7 +424,7 @@ xorps (%rax), %xmm2
# CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - pminsw (%rax), %mm2
# CHECK-NEXT: - - - - - - - 0.25 0.25 0.25 0.25 - pminub %mm0, %mm2
# CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - pminub (%rax), %mm2
-# CHECK-NEXT: - - - - - - - - - 1.00 - - pmovmskb %xmm0, %ecx
+# CHECK-NEXT: - - - - - - - - - 1.00 - - pmovmskb %mm0, %ecx
# CHECK-NEXT: - - - - - - - 1.00 - - - - pmulhuw %mm0, %mm2
# CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - - - - pmulhuw (%rax), %mm2
# CHECK-NEXT: 0.50 0.50 - - - - - - - - - - prefetcht0 (%rax)
More information about the llvm-commits
mailing list