[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / llvm-exegesis / X86 / analysis-cluster-stabilization-config.test
blob6fa4621b1b5f87b90dcc5b3751b1efdd14dd77e1
1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -analysis-clustering-epsilon=0.5 -analysis-inconsistency-epsilon=0.5 -analysis-display-unstable-clusters -analysis-numpoints=1 | FileCheck -check-prefixes=CHECK-UNSTABLE %s
3 # We have two measurements with different measurements for SQRTSSr, but they
4 # have different configs, so they should not be placed in the same cluster by
5 # stabilization.
7 # CHECK-UNSTABLE-NOT: SQRTSSr
9 ---
10 mode:            latency
11 key:
12   instructions:
13     - 'SQRTSSr XMM11 XMM11'
14   config:          'config1'
15   register_initial_values:
16     - 'XMM11=0x0'
17 cpu_name:        bdver2
18 llvm_triple:     x86_64-unknown-linux-gnu
19 num_repetitions: 10000
20 measurements:
21   - { key: latency, value: 90.1111, per_snippet_value: 90.1111 }
22 error:           ''
23 info:            Repeating a single explicitly serial instruction
24 assembled_snippet: 4883EC10C7042400000000C744240400000000C744240800000000C744240C00000000C57A6F1C244883C410F3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBC3
25 ...
26 ---
27 mode:            latency
28 key:
29   instructions:
30     - 'SQRTSSr XMM11 XMM11'
31   config:          'config2'
32   register_initial_values:
33     - 'XMM11=0x0'
34 cpu_name:        bdver2
35 llvm_triple:     x86_64-unknown-linux-gnu
36 num_repetitions: 10000
37 measurements:
38   - { key: latency, value: 100, per_snippet_value: 100 }
39 error:           ''
40 info:            Repeating a single explicitly serial instruction
41 assembled_snippet: 4883EC10C7042400000000C744240400000000C744240800000000C744240C00000000C57A6F1C244883C410F3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBC3
42 ...