xref: /llvm-project/llvm/test/tools/llvm-exegesis/X86/analysis-cluster-stabilization-config.test (revision 4919534ae4d4029982d5a5ad7ea18f4a681cb602)
1f1ac8151SClement Courbet# 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
2f1ac8151SClement Courbet
3f1ac8151SClement Courbet# We have two measurements with different measurements for SQRTSSr, but they
4f1ac8151SClement Courbet# have different configs, so they should not be placed in the same cluster by
5f1ac8151SClement Courbet# stabilization.
6f1ac8151SClement Courbet
7*4919534aSClement Courbet# CHECK-UNSTABLE-NOT: SQRTSSr
8f1ac8151SClement Courbet
9f1ac8151SClement Courbet---
10f1ac8151SClement Courbetmode:            latency
11f1ac8151SClement Courbetkey:
12f1ac8151SClement Courbet  instructions:
13f1ac8151SClement Courbet    - 'SQRTSSr XMM11 XMM11'
14f1ac8151SClement Courbet  config:          'config1'
15f1ac8151SClement Courbet  register_initial_values:
16f1ac8151SClement Courbet    - 'XMM11=0x0'
17f1ac8151SClement Courbetcpu_name:        bdver2
18f1ac8151SClement Courbetllvm_triple:     x86_64-unknown-linux-gnu
19f1ac8151SClement Courbetnum_repetitions: 10000
20f1ac8151SClement Courbetmeasurements:
21f1ac8151SClement Courbet  - { key: latency, value: 90.1111, per_snippet_value: 90.1111 }
22f1ac8151SClement Courbeterror:           ''
23f1ac8151SClement Courbetinfo:            Repeating a single explicitly serial instruction
24f1ac8151SClement Courbetassembled_snippet: 4883EC10C7042400000000C744240400000000C744240800000000C744240C00000000C57A6F1C244883C410F3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBC3
25f1ac8151SClement Courbet...
26f1ac8151SClement Courbet---
27f1ac8151SClement Courbetmode:            latency
28f1ac8151SClement Courbetkey:
29f1ac8151SClement Courbet  instructions:
30f1ac8151SClement Courbet    - 'SQRTSSr XMM11 XMM11'
31f1ac8151SClement Courbet  config:          'config2'
32f1ac8151SClement Courbet  register_initial_values:
33f1ac8151SClement Courbet    - 'XMM11=0x0'
34f1ac8151SClement Courbetcpu_name:        bdver2
35f1ac8151SClement Courbetllvm_triple:     x86_64-unknown-linux-gnu
36f1ac8151SClement Courbetnum_repetitions: 10000
37f1ac8151SClement Courbetmeasurements:
38f1ac8151SClement Courbet  - { key: latency, value: 100, per_snippet_value: 100 }
39f1ac8151SClement Courbeterror:           ''
40f1ac8151SClement Courbetinfo:            Repeating a single explicitly serial instruction
41f1ac8151SClement Courbetassembled_snippet: 4883EC10C7042400000000C744240400000000C744240800000000C744240C00000000C57A6F1C244883C410F3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBF3450F51DBC3
42f1ac8151SClement Courbet...
43