analysis-uops.test 1.2 KB
# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-numpoints=1 | FileCheck %s

# CHECK: cluster_id,opcode_name,config,sched_class,HWPort0,HWPort1,HWPort2,HWPort3,HWPort4,HWPort5,HWPort6,HWPort7,NumMicroOps
# CHECK-NEXT: vzeroall

---
mode:            uops
key:
  instructions:
    - 'VZEROALL'
  config:          ''
  register_initial_values:
cpu_name:        haswell
llvm_triple:     x86_64-unknown-linux-gnu
num_repetitions: 10000
measurements:
  - { key: HWPort0, value: 0.0015, per_snippet_value: 0.0015 }
  - { key: HWPort1, value: 0.0011, per_snippet_value: 0.0011 }
  - { key: HWPort2, value: 0.0006, per_snippet_value: 0.0006 }
  - { key: HWPort3, value: 0.0004, per_snippet_value: 0.0004 }
  - { key: HWPort4, value: 0.0002, per_snippet_value: 0.0002 }
  - { key: HWPort5, value: 1.0008, per_snippet_value: 1.0008 }
  - { key: HWPort6, value: 1.0022, per_snippet_value: 1.0022 }
  - { key: HWPort7, value: 0.0001, per_snippet_value: 0.0001 }
  - { key: NumMicroOps, value: 20.0073, per_snippet_value: 20.0073 }
error:           ''
info:            ''
assembled_snippet: C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C3
...