| 1 |
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py |
| 2 |
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -summary-view -bottleneck-analysis -iterations 1 < %s | FileCheck %s -implicit-check-not 'Cycles with backend pressure increase' |
| 3 |
|
| 4 |
add %eax, %ebx |
| 5 |
|
| 6 |
# CHECK: Iterations: 1 |
| 7 |
# CHECK-NEXT: Instructions: 1 |
| 8 |
# CHECK-NEXT: Total Cycles: 4 |
| 9 |
# CHECK-NEXT: Total uOps: 1 |
| 10 |
|
| 11 |
# CHECK: Dispatch Width: 2 |
| 12 |
# CHECK-NEXT: uOps Per Cycle: 0.25 |
| 13 |
# CHECK-NEXT: IPC: 0.25 |
| 14 |
# CHECK-NEXT: Block RThroughput: 0.5 |
| 15 |
|
| 16 |
# CHECK: No resource or data dependency bottlenecks discovered. |