brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.0 KiB · 405b15a Raw
66 lines · plain
1# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-clustering-epsilon=9 -analysis-inconsistency-epsilon=0.1 -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-CLUSTERS-ALL,CHECK-CLUSTERS-TWO %s2# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-clustering-epsilon=9 -analysis-inconsistency-epsilon=100 -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-CLUSTERS-ALL,CHECK-CLUSTERS-TWO %s3# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-clustering-epsilon=10 -analysis-inconsistency-epsilon=0.1 -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-CLUSTERS-ALL,CHECK-CLUSTERS-ONE %s4# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-clustering-epsilon=10 -analysis-inconsistency-epsilon=100 -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-CLUSTERS-ALL,CHECK-CLUSTERS-ONE %s5 6# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -analysis-clustering-epsilon=9 -analysis-inconsistency-epsilon=0.1 -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-INCONSISTENCIES-FAIL %s7# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -analysis-clustering-epsilon=10 -analysis-inconsistency-epsilon=0.1 -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-INCONSISTENCIES-FAIL %s8# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -analysis-clustering-epsilon=9 -analysis-inconsistency-epsilon=100 -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-INCONSISTENCIES-PASS %s9# RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -analysis-clustering-epsilon=10 -analysis-inconsistency-epsilon=100 -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-INCONSISTENCIES-PASS %s10 11# CHECK-CLUSTERS-ALL: {{^}}cluster_id,opcode_name,config,sched_class,latency{{$}}12 13# CHECK-CLUSTERS-TWO: {{^}}0,14# CHECK-CLUSTERS-TWO-SAME: ,90.00{{$}}15# CHECK-CLUSTERS-TWO: {{^}}1,16# CHECK-CLUSTERS-TWO-SAME: ,100.00{{$}}17 18# CHECK-CLUSTERS-ONE: {{^}}0,19# CHECK-CLUSTERS-ONE-SAME: ,90.00{{$}}20# CHECK-CLUSTERS-ONE-NEXT: {{^}}0,21# CHECK-CLUSTERS-ONE-SAME: ,100.00{{$}}22 23# CHECK-INCONSISTENCIES-FAIL: Epsilon: <span class="mono">0.10</span>24# CHECK-INCONSISTENCIES-FAIL: contains instructions whose performance characteristics do not match that of LLVM25# CHECK-INCONSISTENCIES-FAIL: contains instructions whose performance characteristics do not match that of LLVM26# CHECK-INCONSISTENCIES-FAIL-NOT: contains instructions whose performance characteristics do not match that of LLVM27 28# CHECK-INCONSISTENCIES-PASS: Epsilon: <span class="mono">100.00</span>29# CHECK-INCONSISTENCIES-PASS-NOT: contains instructions whose performance characteristics do not match that of LLVM30 31---32mode:            latency33key:34  instructions:35    - 'ADD32rr EDX EDX EAX'36  config:          ''37  register_initial_values:38    - 'EDX=0x0'39    - 'EAX=0x0'40cpu_name:        bdver241llvm_triple:     x86_64-unknown-linux-gnu42num_repetitions: 1000043measurements:44  - { key: latency, value: 90, per_snippet_value: 90 }45error:           ''46info:            Repeating a single implicitly serial instruction47assembled_snippet: BA00000000B80000000001C201C201C201C201C201C201C201C201C201C201C201C201C201C201C201C2C348...49---50mode:            latency51key:52  instructions:53    - 'SQRTSSr XMM11 XMM11'54  config:          ''55  register_initial_values:56    - 'XMM11=0x0'57cpu_name:        bdver258llvm_triple:     x86_64-unknown-linux-gnu59num_repetitions: 1000060measurements:61  - { key: latency, value: 100, per_snippet_value: 100 }62error:           ''63info:            Repeating a single explicitly serial instruction64assembled_snippet: 4883EC10C7042400000000C744240400000000C744240800000000C744240C00000000C57A6F1C244883C410F3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBC365...66