Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / SandyBridge / resources-pclmul.s
blob9cdd8290a4faa478dd2f3b5b06e60aace1da342f
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=sandybridge -instruction-tables < %s | FileCheck %s
4 pclmulqdq $11, %xmm0, %xmm2
5 pclmulqdq $11, (%rax), %xmm2
7 # CHECK: Instruction Info:
8 # CHECK-NEXT: [1]: #uOps
9 # CHECK-NEXT: [2]: Latency
10 # CHECK-NEXT: [3]: RThroughput
11 # CHECK-NEXT: [4]: MayLoad
12 # CHECK-NEXT: [5]: MayStore
13 # CHECK-NEXT: [6]: HasSideEffects (U)
15 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
16 # CHECK-NEXT: 1 14 6.00 pclmulqdq $11, %xmm0, %xmm2
17 # CHECK-NEXT: 1 14 5.67 * pclmulqdq $11, (%rax), %xmm2
19 # CHECK: Resources:
20 # CHECK-NEXT: [0] - SBDivider
21 # CHECK-NEXT: [1] - SBFPDivider
22 # CHECK-NEXT: [2] - SBPort0
23 # CHECK-NEXT: [3] - SBPort1
24 # CHECK-NEXT: [4] - SBPort4
25 # CHECK-NEXT: [5] - SBPort5
26 # CHECK-NEXT: [6.0] - SBPort23
27 # CHECK-NEXT: [6.1] - SBPort23
29 # CHECK: Resource pressure per iteration:
30 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
31 # CHECK-NEXT: - - 11.67 11.67 - 11.67 0.50 0.50
33 # CHECK: Resource pressure by instruction:
34 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
35 # CHECK-NEXT: - - 6.00 6.00 - 6.00 - - pclmulqdq $11, %xmm0, %xmm2
36 # CHECK-NEXT: - - 5.67 5.67 - 5.67 0.50 0.50 pclmulqdq $11, (%rax), %xmm2