From 9d99372f732a792397161d6483346eef648eb13b Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 29 Apr 2019 18:24:30 +0000 Subject: [PATCH] [llvm-mca][x86] Fix MMX PMOVMSKB test This is defined as part of SSE1, XMM PMOVMSKB doesn't appear until SSE2 llvm-svn: 359477 --- llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/Generic/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/Haswell/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/SLM/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s | 6 +++--- llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s | 6 +++--- 11 files changed, 33 insertions(+), 33 deletions(-) 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 7dfb0103b40b..7066763c55f3 100644 --- a/llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s @@ -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) diff --git a/llvm/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s index 81b2c46441a4..e93aace82c9f 100644 --- a/llvm/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/BdVer2/resources-sse1.s @@ -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) diff --git a/llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s index a886333e79f9..2141d3cab6c4 100644 --- a/llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s @@ -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) diff --git a/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s index 0a0522b7e0d6..765ed68e8b4c 100644 --- a/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s @@ -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) diff --git a/llvm/test/tools/llvm-mca/X86/Generic/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/Generic/resources-sse1.s index b534a3487595..3249912aa7a9 100644 --- a/llvm/test/tools/llvm-mca/X86/Generic/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/Generic/resources-sse1.s @@ -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) diff --git a/llvm/test/tools/llvm-mca/X86/Haswell/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/Haswell/resources-sse1.s index dca5a4be19d4..d299d7bc4b06 100644 --- a/llvm/test/tools/llvm-mca/X86/Haswell/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/Haswell/resources-sse1.s @@ -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) diff --git a/llvm/test/tools/llvm-mca/X86/SLM/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/SLM/resources-sse1.s index 1b30613229a0..63f03a1f57be 100644 --- a/llvm/test/tools/llvm-mca/X86/SLM/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/SLM/resources-sse1.s @@ -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) diff --git a/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s index 73f87ac31031..86229185803d 100644 --- a/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s @@ -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) diff --git a/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s index 84485469f760..5f481a0b6465 100644 --- a/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s @@ -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) diff --git a/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s b/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s index b38f1dd9b56b..fa20c7ce8d13 100644 --- a/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s @@ -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) 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 945bcdda7805..1bddde398bce 100644 --- a/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s +++ b/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s @@ -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)