1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-clustering-epsilon=10 -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-CLUSTERS-ALL,CHECK-CLUSTERS-DBSCAN %s
2 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-clustering-epsilon=10 -analysis-numpoints=1 -analysis-clustering=dbscan | FileCheck -check-prefixes=CHECK-CLUSTERS-ALL,CHECK-CLUSTERS-DBSCAN %s
3 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-clustering-epsilon=10 -analysis-numpoints=1 -analysis-clustering=naive | FileCheck -check-prefixes=CHECK-CLUSTERS-ALL,CHECK-CLUSTERS-NAIVE %s
5 # Normally BSR32rr is in WriteBSR and BSF32rr is in WriteBSF sched classes.
6 # Here we check that if we have dbscan-clustered these two measurements into the
7 # same cluster, we don't split it per the sched classes into two.
9 # CHECK-CLUSTERS-ALL: {{^}}cluster_id,opcode_name,config,sched_class,inverse_throughput{{$}}
11 # CHECK-CLUSTERS-DBSCAN-NEXT: {{^}}0,
12 # CHECK-CLUSTERS-DBSCAN-SAME: ,4.03{{$}}
13 # CHECK-CLUSTERS-DBSCAN-NEXT: {{^}}0,
14 # CHECK-CLUSTERS-DBSCAN-SAME: ,3.02{{$}}
16 # CHECK-CLUSTERS-NAIVE-NEXT: {{^}}0,
17 # CHECK-CLUSTERS-NAIVE-SAME: ,3.02{{$}}
18 # CHECK-CLUSTERS-NAIVE: {{^}}1,
19 # CHECK-CLUSTERS-NAIVE-SAME: ,4.03{{$}}
22 mode: inverse_throughput
27 register_initial_values:
30 llvm_triple: x86_64-unknown-linux-gnu
31 num_repetitions: 1000000
33 - { key: inverse_throughput, value: 4.03048, per_snippet_value: 4.03048 }
35 info: instruction has no tied variables picking Uses different from defs
36 assembled_snippet: BF00000000440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDF440FBDDFC3
39 mode: inverse_throughput
44 register_initial_values:
47 llvm_triple: x86_64-unknown-linux-gnu
48 num_repetitions: 1000000
50 - { key: inverse_throughput, value: 3.02186, per_snippet_value: 3.02186 }
52 info: instruction has no tied variables picking Uses different from defs
53 assembled_snippet: 415641BE00000000410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6410FBCC6415EC3