asimd-st1.s
9.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=aarch64-linux-gnu -mcpu=exynos-m3 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M3
# RUN: llvm-mca -mtriple=aarch64-linux-gnu -mcpu=exynos-m4 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M4
# RUN: llvm-mca -mtriple=aarch64-linux-gnu -mcpu=exynos-m5 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M5
st1 {v0.s}[0], [sp]
st1 {v0.2s}, [sp]
st1 {v0.2s, v1.2s}, [sp]
st1 {v0.2s, v1.2s, v2.2s}, [sp]
st1 {v0.2s, v1.2s, v2.2s, v3.2s}, [sp]
st1 {v0.d}[0], [sp]
st1 {v0.2d}, [sp]
st1 {v0.2d, v1.2d}, [sp]
st1 {v0.2d, v1.2d, v2.2d}, [sp]
st1 {v0.2d, v1.2d, v2.2d, v3.2d}, [sp]
st1 {v0.s}[0], [sp], #4
st1 {v0.2s}, [sp], #8
st1 {v0.2s, v1.2s}, [sp], #16
st1 {v0.2s, v1.2s, v2.2s}, [sp], #24
st1 {v0.2s, v1.2s, v2.2s, v3.2s}, [sp], #32
st1 {v0.d}[0], [sp], #8
st1 {v0.2d}, [sp], #16
st1 {v0.2d, v1.2d}, [sp], #32
st1 {v0.2d, v1.2d, v2.2d}, [sp], #48
st1 {v0.2d, v1.2d, v2.2d, v3.2d}, [sp], #64
st1 {v0.s}[0], [sp], x0
st1 {v0.2s}, [sp], x0
st1 {v0.2s, v1.2s}, [sp], x0
st1 {v0.2s, v1.2s, v2.2s}, [sp], x0
st1 {v0.2s, v1.2s, v2.2s, v3.2s}, [sp], x0
st1 {v0.d}[0], [sp], x0
st1 {v0.2d}, [sp], x0
st1 {v0.2d, v1.2d}, [sp], x0
st1 {v0.2d, v1.2d, v2.2d}, [sp], x0
st1 {v0.2d, v1.2d, v2.2d, v3.2d}, [sp], x0
# ALL: Iterations: 100
# ALL-NEXT: Instructions: 3000
# M3-NEXT: Total Cycles: 10203
# M3-NEXT: Total uOps: 8400
# M4-NEXT: Total Cycles: 6603
# M4-NEXT: Total uOps: 8600
# M5-NEXT: Total Cycles: 6603
# M5-NEXT: Total uOps: 8600
# ALL: Dispatch Width: 6
# M3-NEXT: uOps Per Cycle: 0.82
# M3-NEXT: IPC: 0.29
# M3-NEXT: Block RThroughput: 72.0
# M4-NEXT: uOps Per Cycle: 1.30
# M4-NEXT: IPC: 0.45
# M4-NEXT: Block RThroughput: 33.0
# M5-NEXT: uOps Per Cycle: 1.30
# M5-NEXT: IPC: 0.45
# M5-NEXT: Block RThroughput: 33.0
# ALL: Instruction Info:
# ALL-NEXT: [1]: #uOps
# ALL-NEXT: [2]: Latency
# ALL-NEXT: [3]: RThroughput
# ALL-NEXT: [4]: MayLoad
# ALL-NEXT: [5]: MayStore
# ALL-NEXT: [6]: HasSideEffects (U)
# ALL: [1] [2] [3] [4] [5] [6] Instructions:
# M3-NEXT: 4 7 3.00 * st1 { v0.s }[0], [sp]
# M3-NEXT: 1 1 1.00 * st1 { v0.2s }, [sp]
# M3-NEXT: 2 2 2.00 * st1 { v0.2s, v1.2s }, [sp]
# M3-NEXT: 3 3 3.00 * st1 { v0.2s, v1.2s, v2.2s }, [sp]
# M3-NEXT: 4 4 4.00 * st1 { v0.2s, v1.2s, v2.2s, v3.2s }, [sp]
# M3-NEXT: 4 7 3.00 * st1 { v0.d }[0], [sp]
# M3-NEXT: 1 1 1.00 * st1 { v0.2d }, [sp]
# M3-NEXT: 2 2 2.00 * st1 { v0.2d, v1.2d }, [sp]
# M3-NEXT: 3 3 3.00 * st1 { v0.2d, v1.2d, v2.2d }, [sp]
# M3-NEXT: 4 4 4.00 * st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [sp]
# M3-NEXT: 4 7 3.00 * st1 { v0.s }[0], [sp], #4
# M3-NEXT: 1 1 1.00 * st1 { v0.2s }, [sp], #8
# M3-NEXT: 2 2 2.00 * st1 { v0.2s, v1.2s }, [sp], #16
# M3-NEXT: 3 3 3.00 * st1 { v0.2s, v1.2s, v2.2s }, [sp], #24
# M3-NEXT: 4 4 4.00 * st1 { v0.2s, v1.2s, v2.2s, v3.2s }, [sp], #32
# M3-NEXT: 4 7 3.00 * st1 { v0.d }[0], [sp], #8
# M3-NEXT: 1 1 1.00 * st1 { v0.2d }, [sp], #16
# M3-NEXT: 2 2 2.00 * st1 { v0.2d, v1.2d }, [sp], #32
# M3-NEXT: 3 3 3.00 * st1 { v0.2d, v1.2d, v2.2d }, [sp], #48
# M3-NEXT: 4 4 4.00 * st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [sp], #64
# M3-NEXT: 4 7 3.00 * st1 { v0.s }[0], [sp], x0
# M3-NEXT: 1 1 1.00 * st1 { v0.2s }, [sp], x0
# M3-NEXT: 2 2 2.00 * st1 { v0.2s, v1.2s }, [sp], x0
# M3-NEXT: 3 3 3.00 * st1 { v0.2s, v1.2s, v2.2s }, [sp], x0
# M3-NEXT: 4 4 4.00 * st1 { v0.2s, v1.2s, v2.2s, v3.2s }, [sp], x0
# M3-NEXT: 4 7 3.00 * st1 { v0.d }[0], [sp], x0
# M3-NEXT: 1 1 1.00 * st1 { v0.2d }, [sp], x0
# M3-NEXT: 2 2 2.00 * st1 { v0.2d, v1.2d }, [sp], x0
# M3-NEXT: 3 3 3.00 * st1 { v0.2d, v1.2d, v2.2d }, [sp], x0
# M3-NEXT: 4 4 4.00 * st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [sp], x0
# M4-NEXT: 1 1 0.50 * st1 { v0.s }[0], [sp]
# M4-NEXT: 1 1 0.50 * st1 { v0.2s }, [sp]
# M4-NEXT: 2 2 1.00 * st1 { v0.2s, v1.2s }, [sp]
# M4-NEXT: 3 3 1.50 * st1 { v0.2s, v1.2s, v2.2s }, [sp]
# M4-NEXT: 4 4 2.00 * st1 { v0.2s, v1.2s, v2.2s, v3.2s }, [sp]
# M4-NEXT: 1 1 0.50 * st1 { v0.d }[0], [sp]
# M4-NEXT: 1 1 0.50 * st1 { v0.2d }, [sp]
# M4-NEXT: 2 2 1.00 * st1 { v0.2d, v1.2d }, [sp]
# M4-NEXT: 3 3 1.50 * st1 { v0.2d, v1.2d, v2.2d }, [sp]
# M4-NEXT: 4 4 2.00 * st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [sp]
# M4-NEXT: 2 1 0.50 * st1 { v0.s }[0], [sp], #4
# M4-NEXT: 2 1 0.50 * st1 { v0.2s }, [sp], #8
# M4-NEXT: 3 2 1.00 * st1 { v0.2s, v1.2s }, [sp], #16
# M4-NEXT: 4 3 1.50 * st1 { v0.2s, v1.2s, v2.2s }, [sp], #24
# M4-NEXT: 5 4 2.00 * st1 { v0.2s, v1.2s, v2.2s, v3.2s }, [sp], #32
# M4-NEXT: 2 1 0.50 * st1 { v0.d }[0], [sp], #8
# M4-NEXT: 2 1 0.50 * st1 { v0.2d }, [sp], #16
# M4-NEXT: 3 2 1.00 * st1 { v0.2d, v1.2d }, [sp], #32
# M4-NEXT: 4 3 1.50 * st1 { v0.2d, v1.2d, v2.2d }, [sp], #48
# M4-NEXT: 5 4 2.00 * st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [sp], #64
# M4-NEXT: 2 1 0.50 * st1 { v0.s }[0], [sp], x0
# M4-NEXT: 2 1 0.50 * st1 { v0.2s }, [sp], x0
# M4-NEXT: 3 2 1.00 * st1 { v0.2s, v1.2s }, [sp], x0
# M4-NEXT: 4 3 1.50 * st1 { v0.2s, v1.2s, v2.2s }, [sp], x0
# M4-NEXT: 5 4 2.00 * st1 { v0.2s, v1.2s, v2.2s, v3.2s }, [sp], x0
# M4-NEXT: 2 1 0.50 * st1 { v0.d }[0], [sp], x0
# M4-NEXT: 2 1 0.50 * st1 { v0.2d }, [sp], x0
# M4-NEXT: 3 2 1.00 * st1 { v0.2d, v1.2d }, [sp], x0
# M4-NEXT: 4 3 1.50 * st1 { v0.2d, v1.2d, v2.2d }, [sp], x0
# M4-NEXT: 5 4 2.00 * st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [sp], x0
# M5-NEXT: 1 1 0.50 * st1 { v0.s }[0], [sp]
# M5-NEXT: 1 1 0.50 * st1 { v0.2s }, [sp]
# M5-NEXT: 2 2 1.00 * st1 { v0.2s, v1.2s }, [sp]
# M5-NEXT: 3 3 1.50 * st1 { v0.2s, v1.2s, v2.2s }, [sp]
# M5-NEXT: 4 4 2.00 * st1 { v0.2s, v1.2s, v2.2s, v3.2s }, [sp]
# M5-NEXT: 1 1 0.50 * st1 { v0.d }[0], [sp]
# M5-NEXT: 1 1 0.50 * st1 { v0.2d }, [sp]
# M5-NEXT: 2 2 1.00 * st1 { v0.2d, v1.2d }, [sp]
# M5-NEXT: 3 3 1.50 * st1 { v0.2d, v1.2d, v2.2d }, [sp]
# M5-NEXT: 4 4 2.00 * st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [sp]
# M5-NEXT: 2 1 0.50 * st1 { v0.s }[0], [sp], #4
# M5-NEXT: 2 1 0.50 * st1 { v0.2s }, [sp], #8
# M5-NEXT: 3 2 1.00 * st1 { v0.2s, v1.2s }, [sp], #16
# M5-NEXT: 4 3 1.50 * st1 { v0.2s, v1.2s, v2.2s }, [sp], #24
# M5-NEXT: 5 4 2.00 * st1 { v0.2s, v1.2s, v2.2s, v3.2s }, [sp], #32
# M5-NEXT: 2 1 0.50 * st1 { v0.d }[0], [sp], #8
# M5-NEXT: 2 1 0.50 * st1 { v0.2d }, [sp], #16
# M5-NEXT: 3 2 1.00 * st1 { v0.2d, v1.2d }, [sp], #32
# M5-NEXT: 4 3 1.50 * st1 { v0.2d, v1.2d, v2.2d }, [sp], #48
# M5-NEXT: 5 4 2.00 * st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [sp], #64
# M5-NEXT: 2 1 0.50 * st1 { v0.s }[0], [sp], x0
# M5-NEXT: 2 1 0.50 * st1 { v0.2s }, [sp], x0
# M5-NEXT: 3 2 1.00 * st1 { v0.2s, v1.2s }, [sp], x0
# M5-NEXT: 4 3 1.50 * st1 { v0.2s, v1.2s, v2.2s }, [sp], x0
# M5-NEXT: 5 4 2.00 * st1 { v0.2s, v1.2s, v2.2s, v3.2s }, [sp], x0
# M5-NEXT: 2 1 0.50 * st1 { v0.d }[0], [sp], x0
# M5-NEXT: 2 1 0.50 * st1 { v0.2d }, [sp], x0
# M5-NEXT: 3 2 1.00 * st1 { v0.2d, v1.2d }, [sp], x0
# M5-NEXT: 4 3 1.50 * st1 { v0.2d, v1.2d, v2.2d }, [sp], x0
# M5-NEXT: 5 4 2.00 * st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [sp], x0