[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / llvm-mca / X86 / Generic / resources-lwp.s
blob0de376544a405804284facd057fb859f2880c5c2
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -instruction-tables < %s | FileCheck %s
4 llwpcb %edi
5 llwpcb %rdi
7 lwpins $-1985229329, %esi, %edi
8 lwpins $-1985229329, (%rsi), %edi
10 lwpins $-1985229329, %esi, %rdi
11 lwpins $-1985229329, (%rsi), %rdi
13 lwpval $-1985229329, %esi, %edi
14 lwpval $-1985229329, (%rsi), %edi
16 lwpval $-1985229329, %esi, %rdi
17 lwpval $-1985229329, (%rsi), %rdi
19 slwpcb %edi
20 slwpcb %rdi
22 # CHECK: Instruction Info:
23 # CHECK-NEXT: [1]: #uOps
24 # CHECK-NEXT: [2]: Latency
25 # CHECK-NEXT: [3]: RThroughput
26 # CHECK-NEXT: [4]: MayLoad
27 # CHECK-NEXT: [5]: MayStore
28 # CHECK-NEXT: [6]: HasSideEffects (U)
30 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
31 # CHECK-NEXT: 1 100 0.33 * * U llwpcb %edi
32 # CHECK-NEXT: 1 100 0.33 * * U llwpcb %rdi
33 # CHECK-NEXT: 1 100 0.33 * * U lwpins $-1985229329, %esi, %edi
34 # CHECK-NEXT: 1 100 0.33 * * U lwpins $-1985229329, (%rsi), %edi
35 # CHECK-NEXT: 1 100 0.33 * * U lwpins $-1985229329, %esi, %rdi
36 # CHECK-NEXT: 1 100 0.33 * * U lwpins $-1985229329, (%rsi), %rdi
37 # CHECK-NEXT: 1 100 0.33 * * U lwpval $-1985229329, %esi, %edi
38 # CHECK-NEXT: 1 100 0.33 * * U lwpval $-1985229329, (%rsi), %edi
39 # CHECK-NEXT: 1 100 0.33 * * U lwpval $-1985229329, %esi, %rdi
40 # CHECK-NEXT: 1 100 0.33 * * U lwpval $-1985229329, (%rsi), %rdi
41 # CHECK-NEXT: 1 100 0.33 * * U slwpcb %edi
42 # CHECK-NEXT: 1 100 0.33 * * U slwpcb %rdi
44 # CHECK: Resources:
45 # CHECK-NEXT: [0] - SBDivider
46 # CHECK-NEXT: [1] - SBFPDivider
47 # CHECK-NEXT: [2] - SBPort0
48 # CHECK-NEXT: [3] - SBPort1
49 # CHECK-NEXT: [4] - SBPort4
50 # CHECK-NEXT: [5] - SBPort5
51 # CHECK-NEXT: [6.0] - SBPort23
52 # CHECK-NEXT: [6.1] - SBPort23
54 # CHECK: Resource pressure per iteration:
55 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
56 # CHECK-NEXT: - - 4.00 4.00 - 4.00 - -
58 # CHECK: Resource pressure by instruction:
59 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
60 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - llwpcb %edi
61 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - llwpcb %rdi
62 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - lwpins $-1985229329, %esi, %edi
63 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - lwpins $-1985229329, (%rsi), %edi
64 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - lwpins $-1985229329, %esi, %rdi
65 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - lwpins $-1985229329, (%rsi), %rdi
66 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - lwpval $-1985229329, %esi, %edi
67 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - lwpval $-1985229329, (%rsi), %edi
68 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - lwpval $-1985229329, %esi, %rdi
69 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - lwpval $-1985229329, (%rsi), %rdi
70 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - slwpcb %edi
71 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - slwpcb %rdi