analysis-uops-backwards.test 1.44 KB
# This tests backwards-compatibility of the yaml schema (see PR39082).
# 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:
  - { debug_string: HWPort0, value: 0.0015, per_snippet_value: 0.0015, key: '0' }
  - { debug_string: HWPort1, value: 0.0011, per_snippet_value: 0.0011, key: '1' }
  - { debug_string: HWPort2, value: 0.0006, per_snippet_value: 0.0006, key: '2' }
  - { debug_string: HWPort3, value: 0.0004, per_snippet_value: 0.0004, key: '3' }
  - { debug_string: HWPort4, value: 0.0002, per_snippet_value: 0.0002, key: '4' }
  - { debug_string: HWPort5, value: 1.0008, per_snippet_value: 1.0008, key: '5' }
  - { debug_string: HWPort6, value: 1.0022, per_snippet_value: 1.0022, key: '6' }
  - { debug_string: HWPort7, value: 0.0001, per_snippet_value: 0.0001, key: '7' }
  - { debug_string: NumMicroOps, value: 20.0073, per_snippet_value: 20.0073, key: '8' }
error:           ''
info:            ''
assembled_snippet: C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C3
...