Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / dispatch_width.s
blobbaaad160f13288f4af7f93726c0a81a251c2df0c
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -resource-pressure=false -instruction-info=false -mcpu=btver2 < %s 2>&1 | FileCheck --check-prefix=ALL --check-prefix=DEFAULT %s
3 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -resource-pressure=false -instruction-info=false -mcpu=btver2 -dispatch=0 < %s 2>&1 | FileCheck --check-prefix=ALL --check-prefix=DEFAULT %s
4 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -resource-pressure=false -instruction-info=false -mcpu=btver2 -dispatch=1 < %s 2>&1 | FileCheck --check-prefix=ALL --check-prefix=CUSTOM %s
6 add %eax, %eax
8 # ALL: Iterations: 100
9 # ALL-NEXT: Instructions: 100
10 # ALL-NEXT: Total Cycles: 103
11 # ALL-NEXT: Total uOps: 100
13 # CUSTOM: Dispatch Width: 1
14 # CUSTOM-NEXT: uOps Per Cycle: 0.97
15 # CUSTOM-NEXT: IPC: 0.97
16 # CUSTOM-NEXT: Block RThroughput: 1.0
18 # DEFAULT: Dispatch Width: 2
19 # DEFAULT-NEXT: uOps Per Cycle: 0.97
20 # DEFAULT-NEXT: IPC: 0.97
21 # DEFAULT-NEXT: Block RThroughput: 0.5