llvm-for-llvmta/test/tools/llvm-mca/X86/Haswell/resources-sse41.s

369 lines
21 KiB
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=haswell -instruction-tables < %s | FileCheck %s
blendpd $11, %xmm0, %xmm2
blendpd $11, (%rax), %xmm2
blendps $11, %xmm0, %xmm2
blendps $11, (%rax), %xmm2
blendvpd %xmm0, %xmm2
blendvpd (%rax), %xmm2
blendvps %xmm0, %xmm2
blendvps (%rax), %xmm2
dppd $22, %xmm0, %xmm2
dppd $22, (%rax), %xmm2
dpps $22, %xmm0, %xmm2
dpps $22, (%rax), %xmm2
extractps $1, %xmm0, %rcx
extractps $1, %xmm0, (%rax)
insertps $1, %xmm0, %xmm2
insertps $1, (%rax), %xmm2
movntdqa (%rax), %xmm2
mpsadbw $1, %xmm0, %xmm2
mpsadbw $1, (%rax), %xmm2
packusdw %xmm0, %xmm2
packusdw (%rax), %xmm2
pblendvb %xmm0, %xmm2
pblendvb (%rax), %xmm2
pblendw $11, %xmm0, %xmm2
pblendw $11, (%rax), %xmm2
pcmpeqq %xmm0, %xmm2
pcmpeqq (%rax), %xmm2
pextrb $1, %xmm0, %ecx
pextrb $1, %xmm0, (%rax)
pextrd $1, %xmm0, %ecx
pextrd $1, %xmm0, (%rax)
pextrq $1, %xmm0, %rcx
pextrq $1, %xmm0, (%rax)
pextrw $1, %xmm0, (%rax)
phminposuw %xmm0, %xmm2
phminposuw (%rax), %xmm2
pinsrb $1, %eax, %xmm1
pinsrb $1, (%rax), %xmm1
pinsrd $1, %eax, %xmm1
pinsrd $1, (%rax), %xmm1
pinsrq $1, %rax, %xmm1
pinsrq $1, (%rax), %xmm1
pmaxsb %xmm0, %xmm2
pmaxsb (%rax), %xmm2
pmaxsd %xmm0, %xmm2
pmaxsd (%rax), %xmm2
pmaxud %xmm0, %xmm2
pmaxud (%rax), %xmm2
pmaxuw %xmm0, %xmm2
pmaxuw (%rax), %xmm2
pminsb %xmm0, %xmm2
pminsb (%rax), %xmm2
pminsd %xmm0, %xmm2
pminsd (%rax), %xmm2
pminud %xmm0, %xmm2
pminud (%rax), %xmm2
pminuw %xmm0, %xmm2
pminuw (%rax), %xmm2
pmovsxbd %xmm0, %xmm2
pmovsxbd (%rax), %xmm2
pmovsxbq %xmm0, %xmm2
pmovsxbq (%rax), %xmm2
pmovsxbw %xmm0, %xmm2
pmovsxbw (%rax), %xmm2
pmovsxdq %xmm0, %xmm2
pmovsxdq (%rax), %xmm2
pmovsxwd %xmm0, %xmm2
pmovsxwd (%rax), %xmm2
pmovsxwq %xmm0, %xmm2
pmovsxwq (%rax), %xmm2
pmovzxbd %xmm0, %xmm2
pmovzxbd (%rax), %xmm2
pmovzxbq %xmm0, %xmm2
pmovzxbq (%rax), %xmm2
pmovzxbw %xmm0, %xmm2
pmovzxbw (%rax), %xmm2
pmovzxdq %xmm0, %xmm2
pmovzxdq (%rax), %xmm2
pmovzxwd %xmm0, %xmm2
pmovzxwd (%rax), %xmm2
pmovzxwq %xmm0, %xmm2
pmovzxwq (%rax), %xmm2
pmuldq %xmm0, %xmm2
pmuldq (%rax), %xmm2
pmulld %xmm0, %xmm2
pmulld (%rax), %xmm2
ptest %xmm0, %xmm1
ptest (%rax), %xmm1
roundpd $1, %xmm0, %xmm2
roundpd $1, (%rax), %xmm2
roundps $1, %xmm0, %xmm2
roundps $1, (%rax), %xmm2
roundsd $1, %xmm0, %xmm2
roundsd $1, (%rax), %xmm2
roundss $1, %xmm0, %xmm2
roundss $1, (%rax), %xmm2
# CHECK: Instruction Info:
# CHECK-NEXT: [1]: #uOps
# CHECK-NEXT: [2]: Latency
# CHECK-NEXT: [3]: RThroughput
# CHECK-NEXT: [4]: MayLoad
# CHECK-NEXT: [5]: MayStore
# CHECK-NEXT: [6]: HasSideEffects (U)
# CHECK: [1] [2] [3] [4] [5] [6] Instructions:
# CHECK-NEXT: 1 1 0.33 blendpd $11, %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * blendpd $11, (%rax), %xmm2
# CHECK-NEXT: 1 1 0.33 blendps $11, %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * blendps $11, (%rax), %xmm2
# CHECK-NEXT: 2 2 2.00 blendvpd %xmm0, %xmm0, %xmm2
# CHECK-NEXT: 3 8 2.00 * blendvpd %xmm0, (%rax), %xmm2
# CHECK-NEXT: 2 2 2.00 blendvps %xmm0, %xmm0, %xmm2
# CHECK-NEXT: 3 8 2.00 * blendvps %xmm0, (%rax), %xmm2
# CHECK-NEXT: 3 9 1.00 dppd $22, %xmm0, %xmm2
# CHECK-NEXT: 4 15 1.00 * dppd $22, (%rax), %xmm2
# CHECK-NEXT: 4 14 2.00 dpps $22, %xmm0, %xmm2
# CHECK-NEXT: 5 20 2.00 * dpps $22, (%rax), %xmm2
# CHECK-NEXT: 2 2 1.00 extractps $1, %xmm0, %ecx
# CHECK-NEXT: 3 2 1.00 * extractps $1, %xmm0, (%rax)
# CHECK-NEXT: 1 1 1.00 insertps $1, %xmm0, %xmm2
# CHECK-NEXT: 2 7 1.00 * insertps $1, (%rax), %xmm2
# CHECK-NEXT: 1 6 0.50 * movntdqa (%rax), %xmm2
# CHECK-NEXT: 3 7 2.00 mpsadbw $1, %xmm0, %xmm2
# CHECK-NEXT: 4 13 2.00 * mpsadbw $1, (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 packusdw %xmm0, %xmm2
# CHECK-NEXT: 2 7 1.00 * packusdw (%rax), %xmm2
# CHECK-NEXT: 2 2 2.00 pblendvb %xmm0, %xmm0, %xmm2
# CHECK-NEXT: 3 8 2.00 * pblendvb %xmm0, (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pblendw $11, %xmm0, %xmm2
# CHECK-NEXT: 2 7 1.00 * pblendw $11, (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 pcmpeqq %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * pcmpeqq (%rax), %xmm2
# CHECK-NEXT: 2 2 1.00 pextrb $1, %xmm0, %ecx
# CHECK-NEXT: 3 2 1.00 * pextrb $1, %xmm0, (%rax)
# CHECK-NEXT: 2 2 1.00 pextrd $1, %xmm0, %ecx
# CHECK-NEXT: 3 2 1.00 * pextrd $1, %xmm0, (%rax)
# CHECK-NEXT: 2 2 1.00 pextrq $1, %xmm0, %rcx
# CHECK-NEXT: 3 2 1.00 * pextrq $1, %xmm0, (%rax)
# CHECK-NEXT: 3 2 1.00 * pextrw $1, %xmm0, (%rax)
# CHECK-NEXT: 1 5 1.00 phminposuw %xmm0, %xmm2
# CHECK-NEXT: 2 11 1.00 * phminposuw (%rax), %xmm2
# CHECK-NEXT: 2 2 2.00 pinsrb $1, %eax, %xmm1
# CHECK-NEXT: 2 6 1.00 * pinsrb $1, (%rax), %xmm1
# CHECK-NEXT: 2 2 2.00 pinsrd $1, %eax, %xmm1
# CHECK-NEXT: 2 6 1.00 * pinsrd $1, (%rax), %xmm1
# CHECK-NEXT: 2 2 2.00 pinsrq $1, %rax, %xmm1
# CHECK-NEXT: 2 6 1.00 * pinsrq $1, (%rax), %xmm1
# CHECK-NEXT: 1 1 0.50 pmaxsb %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * pmaxsb (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 pmaxsd %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * pmaxsd (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 pmaxud %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * pmaxud (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 pmaxuw %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * pmaxuw (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 pminsb %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * pminsb (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 pminsd %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * pminsd (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 pminud %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * pminud (%rax), %xmm2
# CHECK-NEXT: 1 1 0.50 pminuw %xmm0, %xmm2
# CHECK-NEXT: 2 7 0.50 * pminuw (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovsxbd %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovsxbd (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovsxbq %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovsxbq (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovsxbw %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovsxbw (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovsxdq %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovsxdq (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovsxwd %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovsxwd (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovsxwq %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovsxwq (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovzxbd %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovzxbd (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovzxbq %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovzxbq (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovzxbw %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovzxbw (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovzxdq %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovzxdq (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovzxwd %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovzxwd (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 pmovzxwq %xmm0, %xmm2
# CHECK-NEXT: 2 6 1.00 * pmovzxwq (%rax), %xmm2
# CHECK-NEXT: 1 5 1.00 pmuldq %xmm0, %xmm2
# CHECK-NEXT: 2 11 1.00 * pmuldq (%rax), %xmm2
# CHECK-NEXT: 2 10 2.00 pmulld %xmm0, %xmm2
# CHECK-NEXT: 3 16 2.00 * pmulld (%rax), %xmm2
# CHECK-NEXT: 2 2 1.00 ptest %xmm0, %xmm1
# CHECK-NEXT: 3 8 1.00 * ptest (%rax), %xmm1
# CHECK-NEXT: 1 6 0.50 roundpd $1, %xmm0, %xmm2
# CHECK-NEXT: 3 12 2.00 * roundpd $1, (%rax), %xmm2
# CHECK-NEXT: 1 6 0.50 roundps $1, %xmm0, %xmm2
# CHECK-NEXT: 3 12 2.00 * roundps $1, (%rax), %xmm2
# CHECK-NEXT: 1 6 0.50 roundsd $1, %xmm0, %xmm2
# CHECK-NEXT: 3 12 2.00 * roundsd $1, (%rax), %xmm2
# CHECK-NEXT: 1 6 0.50 roundss $1, %xmm0, %xmm2
# CHECK-NEXT: 3 12 2.00 * roundss $1, (%rax), %xmm2
# CHECK: Resources:
# CHECK-NEXT: [0] - HWDivider
# CHECK-NEXT: [1] - HWFPDivider
# CHECK-NEXT: [2] - HWPort0
# CHECK-NEXT: [3] - HWPort1
# CHECK-NEXT: [4] - HWPort2
# CHECK-NEXT: [5] - HWPort3
# CHECK-NEXT: [6] - HWPort4
# CHECK-NEXT: [7] - HWPort5
# CHECK-NEXT: [8] - HWPort6
# CHECK-NEXT: [9] - HWPort7
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
# CHECK-NEXT: - - 23.33 22.33 25.67 25.67 5.00 80.33 - 1.67
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] Instructions:
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - blendpd $11, %xmm0, %xmm2
# CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - blendpd $11, (%rax), %xmm2
# CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - blendps $11, %xmm0, %xmm2
# CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - blendps $11, (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 2.00 - - blendvpd %xmm0, %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 2.00 - - blendvpd %xmm0, (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 2.00 - - blendvps %xmm0, %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 2.00 - - blendvps %xmm0, (%rax), %xmm2
# CHECK-NEXT: - - 1.00 1.00 - - - 1.00 - - dppd $22, %xmm0, %xmm2
# CHECK-NEXT: - - 1.00 1.00 0.50 0.50 - 1.00 - - dppd $22, (%rax), %xmm2
# CHECK-NEXT: - - 2.00 1.00 - - - 1.00 - - dpps $22, %xmm0, %xmm2
# CHECK-NEXT: - - 2.00 1.00 0.50 0.50 - 1.00 - - dpps $22, (%rax), %xmm2
# CHECK-NEXT: - - 1.00 - - - - 1.00 - - extractps $1, %xmm0, %ecx
# CHECK-NEXT: - - - - 0.33 0.33 1.00 1.00 - 0.33 extractps $1, %xmm0, (%rax)
# CHECK-NEXT: - - - - - - - 1.00 - - insertps $1, %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - insertps $1, (%rax), %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - - - - movntdqa (%rax), %xmm2
# CHECK-NEXT: - - 1.00 - - - - 2.00 - - mpsadbw $1, %xmm0, %xmm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - 2.00 - - mpsadbw $1, (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - packusdw %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - packusdw (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 2.00 - - pblendvb %xmm0, %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 2.00 - - pblendvb %xmm0, (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pblendw $11, %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pblendw $11, (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pcmpeqq %xmm0, %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pcmpeqq (%rax), %xmm2
# CHECK-NEXT: - - 1.00 - - - - 1.00 - - pextrb $1, %xmm0, %ecx
# CHECK-NEXT: - - - - 0.33 0.33 1.00 1.00 - 0.33 pextrb $1, %xmm0, (%rax)
# CHECK-NEXT: - - 1.00 - - - - 1.00 - - pextrd $1, %xmm0, %ecx
# CHECK-NEXT: - - - - 0.33 0.33 1.00 1.00 - 0.33 pextrd $1, %xmm0, (%rax)
# CHECK-NEXT: - - 1.00 - - - - 1.00 - - pextrq $1, %xmm0, %rcx
# CHECK-NEXT: - - - - 0.33 0.33 1.00 1.00 - 0.33 pextrq $1, %xmm0, (%rax)
# CHECK-NEXT: - - - - 0.33 0.33 1.00 1.00 - 0.33 pextrw $1, %xmm0, (%rax)
# CHECK-NEXT: - - 1.00 - - - - - - - phminposuw %xmm0, %xmm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - phminposuw (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 2.00 - - pinsrb $1, %eax, %xmm1
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pinsrb $1, (%rax), %xmm1
# CHECK-NEXT: - - - - - - - 2.00 - - pinsrd $1, %eax, %xmm1
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pinsrd $1, (%rax), %xmm1
# CHECK-NEXT: - - - - - - - 2.00 - - pinsrq $1, %rax, %xmm1
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pinsrq $1, (%rax), %xmm1
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pmaxsb %xmm0, %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pmaxsb (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pmaxsd %xmm0, %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pmaxsd (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pmaxud %xmm0, %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pmaxud (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pmaxuw %xmm0, %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pmaxuw (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pminsb %xmm0, %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pminsb (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pminsd %xmm0, %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pminsd (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pminud %xmm0, %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pminud (%rax), %xmm2
# CHECK-NEXT: - - - 0.50 - - - 0.50 - - pminuw %xmm0, %xmm2
# CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - pminuw (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovsxbd %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovsxbd (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovsxbq %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovsxbq (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovsxbw %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovsxbw (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovsxdq %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovsxdq (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovsxwd %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovsxwd (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovsxwq %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovsxwq (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovzxbd %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovzxbd (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovzxbq %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovzxbq (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovzxbw %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovzxbw (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovzxdq %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovzxdq (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovzxwd %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovzxwd (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 - - pmovzxwq %xmm0, %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pmovzxwq (%rax), %xmm2
# CHECK-NEXT: - - 1.00 - - - - - - - pmuldq %xmm0, %xmm2
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pmuldq (%rax), %xmm2
# CHECK-NEXT: - - 2.00 - - - - - - - pmulld %xmm0, %xmm2
# CHECK-NEXT: - - 2.00 - 0.50 0.50 - - - - pmulld (%rax), %xmm2
# CHECK-NEXT: - - 1.00 - - - - 1.00 - - ptest %xmm0, %xmm1
# CHECK-NEXT: - - 1.00 - 0.50 0.50 - 1.00 - - ptest (%rax), %xmm1
# CHECK-NEXT: - - - - 0.50 0.50 - - - - roundpd $1, %xmm0, %xmm2
# CHECK-NEXT: - - - 2.00 0.50 0.50 - - - - roundpd $1, (%rax), %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - - - - roundps $1, %xmm0, %xmm2
# CHECK-NEXT: - - - 2.00 0.50 0.50 - - - - roundps $1, (%rax), %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - - - - roundsd $1, %xmm0, %xmm2
# CHECK-NEXT: - - - 2.00 0.50 0.50 - - - - roundsd $1, (%rax), %xmm2
# CHECK-NEXT: - - - - 0.50 0.50 - - - - roundss $1, %xmm0, %xmm2
# CHECK-NEXT: - - - 2.00 0.50 0.50 - - - - roundss $1, (%rax), %xmm2