Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-exegesis / X86 / analysis-uops-variant.test
blobf1efa3af05013f9e6a84c1d3025b00bfd3a18503
1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-numpoints=1 | FileCheck %s
3 # REQUIRES: asserts
4 # (sched class name is NDEBUG only)
6 # CHECK: cluster_id,opcode_name,config,sched_class,SBPort0,SBPort1,SBPort23,SBPort4,SBPort5,NumMicroOps
7 # CHECK-NEXT: SBWriteZeroLatency
9 ---
10 mode:            uops
11 key:
12   instructions:
13     - 'XOR32rr EAX EAX EAX'
14   config:          ''
15   register_initial_values:
16 cpu_name:        sandybridge
17 llvm_triple:     x86_64-unknown-linux-gnu
18 num_repetitions: 10000
19 measurements:
20   - { key: SBPort0, value: 0.0012, per_snippet_value: 0.0012 }
21   - { key: SBPort1, value: 0.0021, per_snippet_value: 0.0021 }
22   - { key: SBPort23, value: 0.0013, per_snippet_value: 0.0013 }
23   - { key: SBPort4, value: 0.0018, per_snippet_value: 0.0018 }
24   - { key: SBPort5, value: 0.0012, per_snippet_value: 0.0012 }
25   - { key: NumMicroOps, value: 1.0108, per_snippet_value: 1.0108 }
26 error:           ''
27 info:            ''
28 assembled_snippet: 31C031C031C031C031C031C031C031C031C031C031C031C031C031C031C031C0C3
29 ...