1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-clustering-epsilon=0.1 -analysis-inconsistency-epsilon=0.1 -analysis-numpoints=1 -analysis-clustering=naive | FileCheck -check-prefixes=CHECK-CLUSTERS %s
3 # Naive clusterization mainly groups by instruction opcode,
4 # but it should also partition the benchmarks of the same opcode
5 # by the sched class. For example, a regular `xor`, and same-operand `xor`
6 # may have different characteristics, and it will be confusing/misleading
9 # CHECK-CLUSTERS: {{^}}cluster_id,opcode_name,config,sched_class,latency{{$}}
10 # CHECK-CLUSTERS-NEXT: {{^}}0,
11 # CHECK-CLUSTERS-SAME: ,1.00{{$}}
12 # CHECK-CLUSTERS: {{^}}1,
13 # CHECK-CLUSTERS-SAME: ,0.20{{$}}
19 - 'XOR32rr ECX ECX EAX'
21 register_initial_values:
25 llvm_triple: x86_64-unknown-linux-gnu
26 num_repetitions: 1000000
28 - { key: latency, value: 1.00017, per_snippet_value: 1.00017 }
30 info: Repeating a single implicitly serial instruction
31 assembled_snippet: B900000000B80000000031C131C131C131C1C3B900000000B80000000049B8020000000000000031C131C14983C0FF75F6C3
37 - 'XOR32rr EDI EDI EDI'
39 register_initial_values:
42 llvm_triple: x86_64-unknown-linux-gnu
43 num_repetitions: 1000000
45 - { key: latency, value: 0.198311, per_snippet_value: 0.198311 }
47 info: Repeating a single implicitly serial instruction
48 assembled_snippet: BF0000000031FF31FF31FF31FFC3BF0000000049B8020000000000000031FF31FF4983C0FF75F6C3