Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / default-iterations.s
blobee1b6169c65b6a031f7cad530d93e0f07f8c475d
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 < %s | FileCheck --check-prefix=ALL --check-prefix=DEFAULT %s
3 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=0 -resource-pressure=false < %s | FileCheck --check-prefix=ALL --check-prefix=DEFAULT %s
4 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -resource-pressure=false < %s | FileCheck --check-prefix=ALL --check-prefix=CUSTOM %s
6 add %eax, %eax
8 # CUSTOM: Iterations: 1
9 # CUSTOM-NEXT: Instructions: 1
10 # CUSTOM-NEXT: Total Cycles: 4
11 # CUSTOM-NEXT: Total uOps: 1
13 # DEFAULT: Iterations: 100
14 # DEFAULT-NEXT: Instructions: 100
15 # DEFAULT-NEXT: Total Cycles: 103
16 # DEFAULT-NEXT: Total uOps: 100
18 # ALL: Dispatch Width: 2
20 # CUSTOM-NEXT: uOps Per Cycle: 0.25
21 # CUSTOM-NEXT: IPC: 0.25
23 # DEFAULT-NEXT: uOps Per Cycle: 0.97
24 # DEFAULT-NEXT: IPC: 0.97
26 # ALL-NEXT: Block RThroughput: 0.5
28 # ALL: Instruction Info:
29 # ALL-NEXT: [1]: #uOps
30 # ALL-NEXT: [2]: Latency
31 # ALL-NEXT: [3]: RThroughput
32 # ALL-NEXT: [4]: MayLoad
33 # ALL-NEXT: [5]: MayStore
34 # ALL-NEXT: [6]: HasSideEffects (U)
36 # ALL: [1] [2] [3] [4] [5] [6] Instructions:
37 # ALL-NEXT: 1 1 0.50 addl %eax, %eax