| 1 |
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py |
| 2 |
# RUN: llvm-mca -mtriple=aarch64 -mcpu=cortex-a55 --all-views=false --summary-view --iterations=1000 < %s | FileCheck %s |
| 3 |
|
| 4 |
add w8, w8, #1 |
| 5 |
add w12, w9, #1 |
| 6 |
cmp w9, #42 |
| 7 |
mul w10, w12, w10 |
| 8 |
|
| 9 |
# CHECK: Iterations: 1000 |
| 10 |
# CHECK-NEXT: Instructions: 4000 |
| 11 |
# CHECK-NEXT: Total Cycles: 3004 |
| 12 |
# CHECK-NEXT: Total uOps: 4000 |
| 13 |
|
| 14 |
# CHECK: Dispatch Width: 2 |
| 15 |
# CHECK-NEXT: uOps Per Cycle: 1.33 |
| 16 |
# CHECK-NEXT: IPC: 1.33 |
| 17 |
# CHECK-NEXT: Block RThroughput: 2.0 |