| 1 |
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py |
| 2 |
// RUN: llvm-mca -mtriple=aarch64-unknown-linux-gnu -mcpu=neoverse-v2 -iterations=1 -resource-pressure=false < %s | FileCheck %s |
| 3 |
|
| 4 |
.text |
| 5 |
// LLVM-MCA-BEGIN Empty |
| 6 |
// Empty sequence |
| 7 |
// LLVM-MCA-END |
| 8 |
|
| 9 |
mul x1, x1, x1 |
| 10 |
// LLVM-MCA-BEGIN NotEmpty |
| 11 |
add x0, x0, x1 |
| 12 |
// LLVM-MCA-END |
| 13 |
mul x2, x2, x2 |
| 14 |
|
| 15 |
# CHECK: [0] Code Region - NotEmpty |
| 16 |
|
| 17 |
# CHECK: Iterations: 1 |
| 18 |
# CHECK-NEXT: Instructions: 1 |
| 19 |
# CHECK-NEXT: Total Cycles: 4 |
| 20 |
# CHECK-NEXT: Total uOps: 1 |
| 21 |
|
| 22 |
# CHECK: Dispatch Width: 6 |
| 23 |
# CHECK-NEXT: uOps Per Cycle: 0.25 |
| 24 |
# CHECK-NEXT: IPC: 0.25 |
| 25 |
# CHECK-NEXT: Block RThroughput: 0.2 |
| 26 |
|
| 27 |
# CHECK: Instruction Info: |
| 28 |
# CHECK-NEXT: [1]: #uOps |
| 29 |
# CHECK-NEXT: [2]: Latency |
| 30 |
# CHECK-NEXT: [3]: RThroughput |
| 31 |
# CHECK-NEXT: [4]: MayLoad |
| 32 |
# CHECK-NEXT: [5]: MayStore |
| 33 |
# CHECK-NEXT: [6]: HasSideEffects (U) |
| 34 |
|
| 35 |
# CHECK: [1] [2] [3] [4] [5] [6] Instructions: |
| 36 |
# CHECK-NEXT: 1 1 0.17 add x0, x0, x1 |