[llvm-mca][x86] Fix MMX PMOVMSKB test

This is defined as part of SSE1, XMM PMOVMSKB doesn't appear until SSE2

llvm-svn: 359477
This commit is contained in:
Simon Pilgrim 2019-04-29 18:24:30 +00:00
parent 820994572c
commit 9d99372f73
11 changed files with 33 additions and 33 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)