diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-08-29 17:56:39 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-08-29 17:56:39 +0000 |
commit | a2eee4745083e805a7c869d250d5c787b827b75b (patch) | |
tree | db1fe3376f305f3cd8b6164a6428a6495118b161 /llvm/test/tools/llvm-mca/X86/default-iterations.s | |
parent | 5221e17fd62b465e94631bf522d6789dd13d5854 (diff) | |
download | bcm5719-llvm-a2eee4745083e805a7c869d250d5c787b827b75b.tar.gz bcm5719-llvm-a2eee4745083e805a7c869d250d5c787b827b75b.zip |
[llvm-mca] Add fields "Total uOps" and "uOps Per Cycle" to the report generated by the SummaryView.
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
Diffstat (limited to 'llvm/test/tools/llvm-mca/X86/default-iterations.s')
-rw-r--r-- | llvm/test/tools/llvm-mca/X86/default-iterations.s | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/llvm/test/tools/llvm-mca/X86/default-iterations.s b/llvm/test/tools/llvm-mca/X86/default-iterations.s index 7b89266eaf3..ee1b6169c65 100644 --- a/llvm/test/tools/llvm-mca/X86/default-iterations.s +++ b/llvm/test/tools/llvm-mca/X86/default-iterations.s @@ -8,16 +8,22 @@ add %eax, %eax # CUSTOM: Iterations: 1 # CUSTOM-NEXT: Instructions: 1 # CUSTOM-NEXT: Total Cycles: 4 -# CUSTOM-NEXT: Dispatch Width: 2 -# CUSTOM-NEXT: IPC: 0.25 -# CUSTOM-NEXT: Block RThroughput: 0.5 +# CUSTOM-NEXT: Total uOps: 1 # DEFAULT: Iterations: 100 # DEFAULT-NEXT: Instructions: 100 # DEFAULT-NEXT: Total Cycles: 103 -# DEFAULT-NEXT: Dispatch Width: 2 +# DEFAULT-NEXT: Total uOps: 100 + +# ALL: Dispatch Width: 2 + +# CUSTOM-NEXT: uOps Per Cycle: 0.25 +# CUSTOM-NEXT: IPC: 0.25 + +# DEFAULT-NEXT: uOps Per Cycle: 0.97 # DEFAULT-NEXT: IPC: 0.97 -# DEFAULT-NEXT: Block RThroughput: 0.5 + +# ALL-NEXT: Block RThroughput: 0.5 # ALL: Instruction Info: # ALL-NEXT: [1]: #uOps |