This patch adds two new fields to the perf report generated by the SummaryView. Fields are now logically organized into two small groups; only the second group contains throughput indicators. Example: ``` Iterations: 100 Instructions: 300 Total Cycles: 414 Total uOps: 700 Dispatch Width: 4 uOps Per Cycle: 1.69 IPC: 0.72 Block RThroughput: 4.0 ``` This patch also updates the docs for llvm-mca. Due to the nature of this change, several tests in the tools/llvm-mca directory were affected, and had to be updated using script `update_mca_test_checks.py`. llvm-svn: 340946
22 lines
1.1 KiB
ArmAsm
22 lines
1.1 KiB
ArmAsm
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
|
|
# 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
|
|
# 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
|
|
# 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
|
|
|
|
add %eax, %eax
|
|
|
|
# ALL: Iterations: 100
|
|
# ALL-NEXT: Instructions: 100
|
|
# ALL-NEXT: Total Cycles: 103
|
|
# ALL-NEXT: Total uOps: 100
|
|
|
|
# CUSTOM: Dispatch Width: 1
|
|
# CUSTOM-NEXT: uOps Per Cycle: 0.97
|
|
# CUSTOM-NEXT: IPC: 0.97
|
|
# CUSTOM-NEXT: Block RThroughput: 1.0
|
|
|
|
# DEFAULT: Dispatch Width: 2
|
|
# DEFAULT-NEXT: uOps Per Cycle: 0.97
|
|
# DEFAULT-NEXT: IPC: 0.97
|
|
# DEFAULT-NEXT: Block RThroughput: 0.5
|