1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=slm -instruction-tables < %s | FileCheck %s
106 # CHECK: Instruction Info:
107 # CHECK-NEXT: [1]: #uOps
108 # CHECK-NEXT: [2]: Latency
109 # CHECK-NEXT: [3]: RThroughput
110 # CHECK-NEXT: [4]: MayLoad
111 # CHECK-NEXT: [5]: MayStore
112 # CHECK-NEXT: [6]: HasSideEffects (U)
114 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
115 # CHECK-NEXT: 1 2 1.00 cmovow %si, %di
116 # CHECK-NEXT: 1 2 1.00 cmovnow %si, %di
117 # CHECK-NEXT: 1 2 1.00 cmovbw %si, %di
118 # CHECK-NEXT: 1 2 1.00 cmovaew %si, %di
119 # CHECK-NEXT: 1 2 1.00 cmovew %si, %di
120 # CHECK-NEXT: 1 2 1.00 cmovnew %si, %di
121 # CHECK-NEXT: 1 2 1.00 cmovbew %si, %di
122 # CHECK-NEXT: 1 2 1.00 cmovaw %si, %di
123 # CHECK-NEXT: 1 2 1.00 cmovsw %si, %di
124 # CHECK-NEXT: 1 2 1.00 cmovnsw %si, %di
125 # CHECK-NEXT: 1 2 1.00 cmovpw %si, %di
126 # CHECK-NEXT: 1 2 1.00 cmovnpw %si, %di
127 # CHECK-NEXT: 1 2 1.00 cmovlw %si, %di
128 # CHECK-NEXT: 1 2 1.00 cmovgew %si, %di
129 # CHECK-NEXT: 1 2 1.00 cmovlew %si, %di
130 # CHECK-NEXT: 1 2 1.00 cmovgw %si, %di
131 # CHECK-NEXT: 1 5 1.00 * cmovow (%rax), %di
132 # CHECK-NEXT: 1 5 1.00 * cmovnow (%rax), %di
133 # CHECK-NEXT: 1 5 1.00 * cmovbw (%rax), %di
134 # CHECK-NEXT: 1 5 1.00 * cmovaew (%rax), %di
135 # CHECK-NEXT: 1 5 1.00 * cmovew (%rax), %di
136 # CHECK-NEXT: 1 5 1.00 * cmovnew (%rax), %di
137 # CHECK-NEXT: 1 5 1.00 * cmovbew (%rax), %di
138 # CHECK-NEXT: 1 5 1.00 * cmovaw (%rax), %di
139 # CHECK-NEXT: 1 5 1.00 * cmovsw (%rax), %di
140 # CHECK-NEXT: 1 5 1.00 * cmovnsw (%rax), %di
141 # CHECK-NEXT: 1 5 1.00 * cmovpw (%rax), %di
142 # CHECK-NEXT: 1 5 1.00 * cmovnpw (%rax), %di
143 # CHECK-NEXT: 1 5 1.00 * cmovlw (%rax), %di
144 # CHECK-NEXT: 1 5 1.00 * cmovgew (%rax), %di
145 # CHECK-NEXT: 1 5 1.00 * cmovlew (%rax), %di
146 # CHECK-NEXT: 1 5 1.00 * cmovgw (%rax), %di
147 # CHECK-NEXT: 1 2 1.00 cmovol %esi, %edi
148 # CHECK-NEXT: 1 2 1.00 cmovnol %esi, %edi
149 # CHECK-NEXT: 1 2 1.00 cmovbl %esi, %edi
150 # CHECK-NEXT: 1 2 1.00 cmovael %esi, %edi
151 # CHECK-NEXT: 1 2 1.00 cmovel %esi, %edi
152 # CHECK-NEXT: 1 2 1.00 cmovnel %esi, %edi
153 # CHECK-NEXT: 1 2 1.00 cmovbel %esi, %edi
154 # CHECK-NEXT: 1 2 1.00 cmoval %esi, %edi
155 # CHECK-NEXT: 1 2 1.00 cmovsl %esi, %edi
156 # CHECK-NEXT: 1 2 1.00 cmovnsl %esi, %edi
157 # CHECK-NEXT: 1 2 1.00 cmovpl %esi, %edi
158 # CHECK-NEXT: 1 2 1.00 cmovnpl %esi, %edi
159 # CHECK-NEXT: 1 2 1.00 cmovll %esi, %edi
160 # CHECK-NEXT: 1 2 1.00 cmovgel %esi, %edi
161 # CHECK-NEXT: 1 2 1.00 cmovlel %esi, %edi
162 # CHECK-NEXT: 1 2 1.00 cmovgl %esi, %edi
163 # CHECK-NEXT: 1 5 1.00 * cmovol (%rax), %edi
164 # CHECK-NEXT: 1 5 1.00 * cmovnol (%rax), %edi
165 # CHECK-NEXT: 1 5 1.00 * cmovbl (%rax), %edi
166 # CHECK-NEXT: 1 5 1.00 * cmovael (%rax), %edi
167 # CHECK-NEXT: 1 5 1.00 * cmovel (%rax), %edi
168 # CHECK-NEXT: 1 5 1.00 * cmovnel (%rax), %edi
169 # CHECK-NEXT: 1 5 1.00 * cmovbel (%rax), %edi
170 # CHECK-NEXT: 1 5 1.00 * cmoval (%rax), %edi
171 # CHECK-NEXT: 1 5 1.00 * cmovsl (%rax), %edi
172 # CHECK-NEXT: 1 5 1.00 * cmovnsl (%rax), %edi
173 # CHECK-NEXT: 1 5 1.00 * cmovpl (%rax), %edi
174 # CHECK-NEXT: 1 5 1.00 * cmovnpl (%rax), %edi
175 # CHECK-NEXT: 1 5 1.00 * cmovll (%rax), %edi
176 # CHECK-NEXT: 1 5 1.00 * cmovgel (%rax), %edi
177 # CHECK-NEXT: 1 5 1.00 * cmovlel (%rax), %edi
178 # CHECK-NEXT: 1 5 1.00 * cmovgl (%rax), %edi
179 # CHECK-NEXT: 1 2 1.00 cmovoq %rsi, %rdi
180 # CHECK-NEXT: 1 2 1.00 cmovnoq %rsi, %rdi
181 # CHECK-NEXT: 1 2 1.00 cmovbq %rsi, %rdi
182 # CHECK-NEXT: 1 2 1.00 cmovaeq %rsi, %rdi
183 # CHECK-NEXT: 1 2 1.00 cmoveq %rsi, %rdi
184 # CHECK-NEXT: 1 2 1.00 cmovneq %rsi, %rdi
185 # CHECK-NEXT: 1 2 1.00 cmovbeq %rsi, %rdi
186 # CHECK-NEXT: 1 2 1.00 cmovaq %rsi, %rdi
187 # CHECK-NEXT: 1 2 1.00 cmovsq %rsi, %rdi
188 # CHECK-NEXT: 1 2 1.00 cmovnsq %rsi, %rdi
189 # CHECK-NEXT: 1 2 1.00 cmovpq %rsi, %rdi
190 # CHECK-NEXT: 1 2 1.00 cmovnpq %rsi, %rdi
191 # CHECK-NEXT: 1 2 1.00 cmovlq %rsi, %rdi
192 # CHECK-NEXT: 1 2 1.00 cmovgeq %rsi, %rdi
193 # CHECK-NEXT: 1 2 1.00 cmovleq %rsi, %rdi
194 # CHECK-NEXT: 1 2 1.00 cmovgq %rsi, %rdi
195 # CHECK-NEXT: 1 5 1.00 * cmovoq (%rax), %rdi
196 # CHECK-NEXT: 1 5 1.00 * cmovnoq (%rax), %rdi
197 # CHECK-NEXT: 1 5 1.00 * cmovbq (%rax), %rdi
198 # CHECK-NEXT: 1 5 1.00 * cmovaeq (%rax), %rdi
199 # CHECK-NEXT: 1 5 1.00 * cmoveq (%rax), %rdi
200 # CHECK-NEXT: 1 5 1.00 * cmovneq (%rax), %rdi
201 # CHECK-NEXT: 1 5 1.00 * cmovbeq (%rax), %rdi
202 # CHECK-NEXT: 1 5 1.00 * cmovaq (%rax), %rdi
203 # CHECK-NEXT: 1 5 1.00 * cmovsq (%rax), %rdi
204 # CHECK-NEXT: 1 5 1.00 * cmovnsq (%rax), %rdi
205 # CHECK-NEXT: 1 5 1.00 * cmovpq (%rax), %rdi
206 # CHECK-NEXT: 1 5 1.00 * cmovnpq (%rax), %rdi
207 # CHECK-NEXT: 1 5 1.00 * cmovlq (%rax), %rdi
208 # CHECK-NEXT: 1 5 1.00 * cmovgeq (%rax), %rdi
209 # CHECK-NEXT: 1 5 1.00 * cmovleq (%rax), %rdi
210 # CHECK-NEXT: 1 5 1.00 * cmovgq (%rax), %rdi
213 # CHECK-NEXT: [0] - SLMDivider
214 # CHECK-NEXT: [1] - SLMFPDivider
215 # CHECK-NEXT: [2] - SLMFPMultiplier
216 # CHECK-NEXT: [3] - SLM_FPC_RSV0
217 # CHECK-NEXT: [4] - SLM_FPC_RSV1
218 # CHECK-NEXT: [5] - SLM_IEC_RSV0
219 # CHECK-NEXT: [6] - SLM_IEC_RSV1
220 # CHECK-NEXT: [7] - SLM_MEC_RSV
222 # CHECK: Resource pressure per iteration:
223 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7]
224 # CHECK-NEXT: - - - - - 96.00 96.00 48.00
226 # CHECK: Resource pressure by instruction:
227 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] Instructions:
228 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovow %si, %di
229 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnow %si, %di
230 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovbw %si, %di
231 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovaew %si, %di
232 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovew %si, %di
233 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnew %si, %di
234 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovbew %si, %di
235 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovaw %si, %di
236 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovsw %si, %di
237 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnsw %si, %di
238 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovpw %si, %di
239 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnpw %si, %di
240 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovlw %si, %di
241 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovgew %si, %di
242 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovlew %si, %di
243 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovgw %si, %di
244 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovow (%rax), %di
245 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnow (%rax), %di
246 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovbw (%rax), %di
247 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovaew (%rax), %di
248 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovew (%rax), %di
249 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnew (%rax), %di
250 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovbew (%rax), %di
251 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovaw (%rax), %di
252 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovsw (%rax), %di
253 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnsw (%rax), %di
254 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovpw (%rax), %di
255 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnpw (%rax), %di
256 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovlw (%rax), %di
257 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovgew (%rax), %di
258 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovlew (%rax), %di
259 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovgw (%rax), %di
260 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovol %esi, %edi
261 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnol %esi, %edi
262 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovbl %esi, %edi
263 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovael %esi, %edi
264 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovel %esi, %edi
265 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnel %esi, %edi
266 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovbel %esi, %edi
267 # CHECK-NEXT: - - - - - 1.00 1.00 - cmoval %esi, %edi
268 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovsl %esi, %edi
269 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnsl %esi, %edi
270 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovpl %esi, %edi
271 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnpl %esi, %edi
272 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovll %esi, %edi
273 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovgel %esi, %edi
274 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovlel %esi, %edi
275 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovgl %esi, %edi
276 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovol (%rax), %edi
277 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnol (%rax), %edi
278 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovbl (%rax), %edi
279 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovael (%rax), %edi
280 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovel (%rax), %edi
281 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnel (%rax), %edi
282 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovbel (%rax), %edi
283 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmoval (%rax), %edi
284 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovsl (%rax), %edi
285 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnsl (%rax), %edi
286 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovpl (%rax), %edi
287 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnpl (%rax), %edi
288 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovll (%rax), %edi
289 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovgel (%rax), %edi
290 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovlel (%rax), %edi
291 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovgl (%rax), %edi
292 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovoq %rsi, %rdi
293 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnoq %rsi, %rdi
294 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovbq %rsi, %rdi
295 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovaeq %rsi, %rdi
296 # CHECK-NEXT: - - - - - 1.00 1.00 - cmoveq %rsi, %rdi
297 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovneq %rsi, %rdi
298 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovbeq %rsi, %rdi
299 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovaq %rsi, %rdi
300 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovsq %rsi, %rdi
301 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnsq %rsi, %rdi
302 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovpq %rsi, %rdi
303 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovnpq %rsi, %rdi
304 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovlq %rsi, %rdi
305 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovgeq %rsi, %rdi
306 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovleq %rsi, %rdi
307 # CHECK-NEXT: - - - - - 1.00 1.00 - cmovgq %rsi, %rdi
308 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovoq (%rax), %rdi
309 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnoq (%rax), %rdi
310 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovbq (%rax), %rdi
311 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovaeq (%rax), %rdi
312 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmoveq (%rax), %rdi
313 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovneq (%rax), %rdi
314 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovbeq (%rax), %rdi
315 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovaq (%rax), %rdi
316 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovsq (%rax), %rdi
317 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnsq (%rax), %rdi
318 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovpq (%rax), %rdi
319 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovnpq (%rax), %rdi
320 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovlq (%rax), %rdi
321 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovgeq (%rax), %rdi
322 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovleq (%rax), %rdi
323 # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovgq (%rax), %rdi