Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / BtVer2 / instruction-info-view.s
blob8f17c44e0ef4f33a463e00f9c6785a03d00dc6d9
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -resource-pressure=false -instruction-info=true < %s | FileCheck %s --check-prefix=ENABLED
3 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -resource-pressure=false -instruction-info=false < %s | FileCheck %s -check-prefix=DISABLED
4 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -resource-pressure=false -instruction-info < %s | FileCheck %s -check-prefix=ENABLED
5 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -resource-pressure=false < %s | FileCheck %s -check-prefix=ENABLED
7 vmulps %xmm0, %xmm1, %xmm2
8 vhaddps %xmm2, %xmm2, %xmm3
9 vhaddps %xmm3, %xmm3, %xmm4
11 # DISABLED-NOT: Instruction Info:
14 # ENABLED: Iterations: 100
15 # ENABLED-NEXT: Instructions: 300
16 # ENABLED-NEXT: Total Cycles: 211
17 # ENABLED-NEXT: Total uOps: 300
20 # ENABLED: Dispatch Width: 2
21 # ENABLED-NEXT: uOps Per Cycle: 1.42
22 # ENABLED-NEXT: IPC: 1.42
23 # ENABLED-NEXT: Block RThroughput: 2.0
25 # ENABLED: Instruction Info:
26 # ENABLED-NEXT: [1]: #uOps
27 # ENABLED-NEXT: [2]: Latency
28 # ENABLED-NEXT: [3]: RThroughput
29 # ENABLED-NEXT: [4]: MayLoad
30 # ENABLED-NEXT: [5]: MayStore
31 # ENABLED-NEXT: [6]: HasSideEffects (U)
33 # ENABLED: [1] [2] [3] [4] [5] [6] Instructions:
34 # ENABLED-NEXT: 1 2 1.00 vmulps %xmm0, %xmm1, %xmm2
35 # ENABLED-NEXT: 1 4 1.00 vhaddps %xmm2, %xmm2, %xmm3
36 # ENABLED-NEXT: 1 4 1.00 vhaddps %xmm3, %xmm3, %xmm4