Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-exegesis / X86 / analysis-uops.test
blob95737e5d545af7fcdfd4282501eef96c101739fc
1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-numpoints=1 | FileCheck %s
3 # CHECK: cluster_id,opcode_name,config,sched_class,HWPort0,HWPort1,HWPort2,HWPort3,HWPort4,HWPort5,HWPort6,HWPort7,NumMicroOps
4 # CHECK-NEXT: vzeroall
6 ---
7 mode:            uops
8 key:
9   instructions:
10     - 'VZEROALL'
11   config:          ''
12   register_initial_values:
13 cpu_name:        haswell
14 llvm_triple:     x86_64-unknown-linux-gnu
15 num_repetitions: 10000
16 measurements:
17   - { key: HWPort0, value: 0.0015, per_snippet_value: 0.0015 }
18   - { key: HWPort1, value: 0.0011, per_snippet_value: 0.0011 }
19   - { key: HWPort2, value: 0.0006, per_snippet_value: 0.0006 }
20   - { key: HWPort3, value: 0.0004, per_snippet_value: 0.0004 }
21   - { key: HWPort4, value: 0.0002, per_snippet_value: 0.0002 }
22   - { key: HWPort5, value: 1.0008, per_snippet_value: 1.0008 }
23   - { key: HWPort6, value: 1.0022, per_snippet_value: 1.0022 }
24   - { key: HWPort7, value: 0.0001, per_snippet_value: 0.0001 }
25   - { key: NumMicroOps, value: 20.0073, per_snippet_value: 20.0073 }
26 error:           ''
27 info:            ''
28 assembled_snippet: C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C5FC77C3
29 ...