[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / llvm-mca / X86 / BdVer2 / resources-lwp.s
blobb14a72d32046f526ad8e401e80beec8999de0099
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -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.50 * * U llwpcb %edi
32 # CHECK-NEXT: 1 100 0.50 * * U llwpcb %rdi
33 # CHECK-NEXT: 1 100 0.50 * * U lwpins $-1985229329, %esi, %edi
34 # CHECK-NEXT: 1 100 0.50 * * U lwpins $-1985229329, (%rsi), %edi
35 # CHECK-NEXT: 1 100 0.50 * * U lwpins $-1985229329, %esi, %rdi
36 # CHECK-NEXT: 1 100 0.50 * * U lwpins $-1985229329, (%rsi), %rdi
37 # CHECK-NEXT: 1 100 0.50 * * U lwpval $-1985229329, %esi, %edi
38 # CHECK-NEXT: 1 100 0.50 * * U lwpval $-1985229329, (%rsi), %edi
39 # CHECK-NEXT: 1 100 0.50 * * U lwpval $-1985229329, %esi, %rdi
40 # CHECK-NEXT: 1 100 0.50 * * U lwpval $-1985229329, (%rsi), %rdi
41 # CHECK-NEXT: 1 100 0.50 * * U slwpcb %edi
42 # CHECK-NEXT: 1 100 0.50 * * U slwpcb %rdi
44 # CHECK: Resources:
45 # CHECK-NEXT: [0.0] - PdAGLU01
46 # CHECK-NEXT: [0.1] - PdAGLU01
47 # CHECK-NEXT: [1] - PdBranch
48 # CHECK-NEXT: [2] - PdCount
49 # CHECK-NEXT: [3] - PdDiv
50 # CHECK-NEXT: [4] - PdEX0
51 # CHECK-NEXT: [5] - PdEX1
52 # CHECK-NEXT: [6] - PdFPCVT
53 # CHECK-NEXT: [7.0] - PdFPFMA
54 # CHECK-NEXT: [7.1] - PdFPFMA
55 # CHECK-NEXT: [8.0] - PdFPMAL
56 # CHECK-NEXT: [8.1] - PdFPMAL
57 # CHECK-NEXT: [9] - PdFPMMA
58 # CHECK-NEXT: [10] - PdFPSTO
59 # CHECK-NEXT: [11] - PdFPU0
60 # CHECK-NEXT: [12] - PdFPU1
61 # CHECK-NEXT: [13] - PdFPU2
62 # CHECK-NEXT: [14] - PdFPU3
63 # CHECK-NEXT: [15] - PdFPXBR
64 # CHECK-NEXT: [16.0] - PdLoad
65 # CHECK-NEXT: [16.1] - PdLoad
66 # CHECK-NEXT: [17] - PdMul
67 # CHECK-NEXT: [18] - PdStore
69 # CHECK: Resource pressure per iteration:
70 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
71 # CHECK-NEXT: - - - - - 6.00 6.00 - - - - - - - - - - - - - - - -
73 # CHECK: Resource pressure by instruction:
74 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
75 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - llwpcb %edi
76 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - llwpcb %rdi
77 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - lwpins $-1985229329, %esi, %edi
78 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - lwpins $-1985229329, (%rsi), %edi
79 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - lwpins $-1985229329, %esi, %rdi
80 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - lwpins $-1985229329, (%rsi), %rdi
81 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - lwpval $-1985229329, %esi, %edi
82 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - lwpval $-1985229329, (%rsi), %edi
83 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - lwpval $-1985229329, %esi, %rdi
84 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - lwpval $-1985229329, (%rsi), %rdi
85 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - slwpcb %edi
86 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - - - - - - - - - - - - - slwpcb %rdi