xref: /llvm-project/llvm/test/tools/llvm-exegesis/X86/analysis-uops-variant.test (revision 21193f4b7e535bfde54fd4b93fd5a0f3169a99ef)
1# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-numpoints=1 | FileCheck %s
2
3# REQUIRES: asserts
4# (sched class name is NDEBUG only)
5
6# CHECK: cluster_id,opcode_name,config,sched_class,SBPort0,SBPort1,SBPort23,SBPort4,SBPort5,NumMicroOps
7# CHECK-NEXT: SBWriteZeroLatency
8
9---
10mode:            uops
11key:
12  instructions:
13    - 'XOR32rr EAX EAX EAX'
14  config:          ''
15  register_initial_values:
16cpu_name:        sandybridge
17llvm_triple:     x86_64-unknown-linux-gnu
18num_repetitions: 10000
19measurements:
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 }
26error:           ''
27info:            ''
28assembled_snippet: 31C031C031C031C031C031C031C031C031C031C031C031C031C031C031C031C0C3
29...
30