Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / llvm-mca-markers-3.s
blobefbb157f9dab7b262bc65385a08a8ccc5246eccc
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -resource-pressure=false < %s | FileCheck %s
4 add %esi, %edi
5 # LLVM-MCA-BEGIN foo
6 add %edi, %eax
8 # CHECK: [0] Code Region - foo
10 # CHECK: Iterations: 1
11 # CHECK-NEXT: Instructions: 1
12 # CHECK-NEXT: Total Cycles: 4
13 # CHECK-NEXT: Total uOps: 1
15 # CHECK: Dispatch Width: 2
16 # CHECK-NEXT: uOps Per Cycle: 0.25
17 # CHECK-NEXT: IPC: 0.25
18 # CHECK-NEXT: Block RThroughput: 0.5
20 # CHECK: Instruction Info:
21 # CHECK-NEXT: [1]: #uOps
22 # CHECK-NEXT: [2]: Latency
23 # CHECK-NEXT: [3]: RThroughput
24 # CHECK-NEXT: [4]: MayLoad
25 # CHECK-NEXT: [5]: MayStore
26 # CHECK-NEXT: [6]: HasSideEffects (U)
28 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
29 # CHECK-NEXT: 1 1 0.50 addl %edi, %eax