[PATCH] D52539: [llvm-exegesis] Add support for measuring NumMicroOps.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 26 02:36:03 PDT 2018


courbet created this revision.
courbet added a reviewer: gchatelet.
Herald added a subscriber: tschuett.

Example output for vzeroall:

---

mode:            uops
key:

  instructions:
    - 'VZEROALL'
  config:          ''
  register_initial_values:

cpu_name:        haswell
llvm_triple:     x86_64-unknown-linux-gnu
num_repetitions: 10000
measurements:

- { debug_string: HWPort0, value: 0.0006, per_snippet_value: 0.0006, key: '3' }
- { debug_string: HWPort1, value: 0.0011, per_snippet_value: 0.0011, key: '4' }
- { debug_string: HWPort2, value: 0.0004, per_snippet_value: 0.0004, key: '5' }
- { debug_string: HWPort3, value: 0.0018, per_snippet_value: 0.0018, key: '6' }
- { debug_string: HWPort4, value: 0.0002, per_snippet_value: 0.0002, key: '7' }
- { debug_string: HWPort5, value: 1.0019, per_snippet_value: 1.0019, key: '8' }
- { debug_string: HWPort6, value: 1.0033, per_snippet_value: 1.0033, key: '9' }
- { debug_string: HWPort7, value: 0.0001, per_snippet_value: 0.0001, key: '10' }
- { debug_string: NumMicroOps, value: 20.0069, per_snippet_value: 20.0069, key: NumMicroOps }

error:           ''
info:            ''
assembled_snippet: C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C3
...


Repository:
  rL LLVM

https://reviews.llvm.org/D52539

Files:
  include/llvm/MC/MCSchedule.h
  include/llvm/Target/TargetSchedule.td
  lib/Target/X86/X86PfmCounters.td
  tools/llvm-exegesis/lib/Uops.cpp
  utils/TableGen/CodeGenSchedule.cpp
  utils/TableGen/CodeGenSchedule.h
  utils/TableGen/SubtargetEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52539.167087.patch
Type: text/x-patch
Size: 5879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180926/d828e7e4/attachment.bin>


More information about the llvm-commits mailing list