1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -iterations=1 -timeline < %s | FileCheck %s
16 lock cmpxchgq
%rcx
, (%rdx
)
21 lock cmpxchgq
%rcx
, (%rdx
)
45 lock cmpxchg16b
(%rsp
)
48 # CHECK: [0] Code Region
50 # CHECK: Iterations: 1
51 # CHECK-NEXT: Instructions: 2
52 # CHECK-NEXT: Total Cycles: 17
53 # CHECK-NEXT: Total uOps: 7
55 # CHECK: Dispatch Width: 2
56 # CHECK-NEXT: uOps Per Cycle: 0.41
57 # CHECK-NEXT: IPC: 0.12
58 # CHECK-NEXT: Block RThroughput: 4.0
60 # CHECK: Instruction Info:
61 # CHECK-NEXT: [1]: #uOps
62 # CHECK-NEXT: [2]: Latency
63 # CHECK-NEXT: [3]: RThroughput
64 # CHECK-NEXT: [4]: MayLoad
65 # CHECK-NEXT: [5]: MayStore
66 # CHECK-NEXT: [6]: HasSideEffects (U)
68 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
69 # CHECK-NEXT: 1 6 4.00 imulq %rax, %rax
70 # CHECK-NEXT: 6 11 1.50 * * cmpxchgq %rcx, (%rdx)
73 # CHECK-NEXT: [0] - JALU0
74 # CHECK-NEXT: [1] - JALU1
75 # CHECK-NEXT: [2] - JDiv
76 # CHECK-NEXT: [3] - JFPA
77 # CHECK-NEXT: [4] - JFPM
78 # CHECK-NEXT: [5] - JFPU0
79 # CHECK-NEXT: [6] - JFPU1
80 # CHECK-NEXT: [7] - JLAGU
81 # CHECK-NEXT: [8] - JMul
82 # CHECK-NEXT: [9] - JSAGU
83 # CHECK-NEXT: [10] - JSTC
84 # CHECK-NEXT: [11] - JVALU0
85 # CHECK-NEXT: [12] - JVALU1
86 # CHECK-NEXT: [13] - JVIMUL
88 # CHECK: Resource pressure per iteration:
89 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
90 # CHECK-NEXT: 3.00 1.00 - - - - - 1.00 4.00 1.00 - - - -
92 # CHECK: Resource pressure by instruction:
93 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
94 # CHECK-NEXT: - 1.00 - - - - - - 4.00 - - - - - imulq %rax, %rax
95 # CHECK-NEXT: 3.00 - - - - - - 1.00 - 1.00 - - - - cmpxchgq %rcx, (%rdx)
97 # CHECK: Timeline view:
99 # CHECK-NEXT: Index 0123456789
101 # CHECK: [0,0] DeeeeeeER . .. imulq %rax, %rax
102 # CHECK-NEXT: [0,1] .D==eeeeeeeeeeeER cmpxchgq %rcx, (%rdx)
104 # CHECK: Average Wait times (based on the timeline view):
105 # CHECK-NEXT: [0]: Executions
106 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
107 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
108 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
110 # CHECK: [0] [1] [2] [3]
111 # CHECK-NEXT: 0. 1 1.0 1.0 0.0 imulq %rax, %rax
112 # CHECK-NEXT: 1. 1 3.0 0.0 0.0 cmpxchgq %rcx, (%rdx)
114 # CHECK: [1] Code Region
116 # CHECK: Iterations: 1
117 # CHECK-NEXT: Instructions: 2
118 # CHECK-NEXT: Total Cycles: 17
119 # CHECK-NEXT: Total uOps: 7
121 # CHECK: Dispatch Width: 2
122 # CHECK-NEXT: uOps Per Cycle: 0.41
123 # CHECK-NEXT: IPC: 0.12
124 # CHECK-NEXT: Block RThroughput: 4.0
126 # CHECK: Instruction Info:
127 # CHECK-NEXT: [1]: #uOps
128 # CHECK-NEXT: [2]: Latency
129 # CHECK-NEXT: [3]: RThroughput
130 # CHECK-NEXT: [4]: MayLoad
131 # CHECK-NEXT: [5]: MayStore
132 # CHECK-NEXT: [6]: HasSideEffects (U)
134 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
135 # CHECK-NEXT: 1 6 4.00 imulq %rcx, %rcx
136 # CHECK-NEXT: 6 11 1.50 * * cmpxchgq %rcx, (%rdx)
139 # CHECK-NEXT: [0] - JALU0
140 # CHECK-NEXT: [1] - JALU1
141 # CHECK-NEXT: [2] - JDiv
142 # CHECK-NEXT: [3] - JFPA
143 # CHECK-NEXT: [4] - JFPM
144 # CHECK-NEXT: [5] - JFPU0
145 # CHECK-NEXT: [6] - JFPU1
146 # CHECK-NEXT: [7] - JLAGU
147 # CHECK-NEXT: [8] - JMul
148 # CHECK-NEXT: [9] - JSAGU
149 # CHECK-NEXT: [10] - JSTC
150 # CHECK-NEXT: [11] - JVALU0
151 # CHECK-NEXT: [12] - JVALU1
152 # CHECK-NEXT: [13] - JVIMUL
154 # CHECK: Resource pressure per iteration:
155 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
156 # CHECK-NEXT: 3.00 1.00 - - - - - 1.00 4.00 1.00 - - - -
158 # CHECK: Resource pressure by instruction:
159 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
160 # CHECK-NEXT: - 1.00 - - - - - - 4.00 - - - - - imulq %rcx, %rcx
161 # CHECK-NEXT: 3.00 - - - - - - 1.00 - 1.00 - - - - cmpxchgq %rcx, (%rdx)
163 # CHECK: Timeline view:
164 # CHECK-NEXT: 0123456
165 # CHECK-NEXT: Index 0123456789
167 # CHECK: [0,0] DeeeeeeER . .. imulq %rcx, %rcx
168 # CHECK-NEXT: [0,1] .D==eeeeeeeeeeeER cmpxchgq %rcx, (%rdx)
170 # CHECK: Average Wait times (based on the timeline view):
171 # CHECK-NEXT: [0]: Executions
172 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
173 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
174 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
176 # CHECK: [0] [1] [2] [3]
177 # CHECK-NEXT: 0. 1 1.0 1.0 0.0 imulq %rcx, %rcx
178 # CHECK-NEXT: 1. 1 3.0 0.0 0.0 cmpxchgq %rcx, (%rdx)
180 # CHECK: [2] Code Region
182 # CHECK: Iterations: 1
183 # CHECK-NEXT: Instructions: 2
184 # CHECK-NEXT: Total Cycles: 23
185 # CHECK-NEXT: Total uOps: 7
187 # CHECK: Dispatch Width: 2
188 # CHECK-NEXT: uOps Per Cycle: 0.30
189 # CHECK-NEXT: IPC: 0.09
190 # CHECK-NEXT: Block RThroughput: 17.0
192 # CHECK: Instruction Info:
193 # CHECK-NEXT: [1]: #uOps
194 # CHECK-NEXT: [2]: Latency
195 # CHECK-NEXT: [3]: RThroughput
196 # CHECK-NEXT: [4]: MayLoad
197 # CHECK-NEXT: [5]: MayStore
198 # CHECK-NEXT: [6]: HasSideEffects (U)
200 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
201 # CHECK-NEXT: 1 6 4.00 imulq %rax, %rax
202 # CHECK-NEXT: 6 17 17.00 * * lock cmpxchgq %rcx, (%rdx)
205 # CHECK-NEXT: [0] - JALU0
206 # CHECK-NEXT: [1] - JALU1
207 # CHECK-NEXT: [2] - JDiv
208 # CHECK-NEXT: [3] - JFPA
209 # CHECK-NEXT: [4] - JFPM
210 # CHECK-NEXT: [5] - JFPU0
211 # CHECK-NEXT: [6] - JFPU1
212 # CHECK-NEXT: [7] - JLAGU
213 # CHECK-NEXT: [8] - JMul
214 # CHECK-NEXT: [9] - JSAGU
215 # CHECK-NEXT: [10] - JSTC
216 # CHECK-NEXT: [11] - JVALU0
217 # CHECK-NEXT: [12] - JVALU1
218 # CHECK-NEXT: [13] - JVIMUL
220 # CHECK: Resource pressure per iteration:
221 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
222 # CHECK-NEXT: 3.00 1.00 - - - - - 17.00 4.00 17.00 - - - -
224 # CHECK: Resource pressure by instruction:
225 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
226 # CHECK-NEXT: - 1.00 - - - - - - 4.00 - - - - - imulq %rax, %rax
227 # CHECK-NEXT: 3.00 - - - - - - 17.00 - 17.00 - - - - lock cmpxchgq %rcx, (%rdx)
229 # CHECK: Timeline view:
230 # CHECK-NEXT: 0123456789
231 # CHECK-NEXT: Index 0123456789 012
233 # CHECK: [0,0] DeeeeeeER . . . . imulq %rax, %rax
234 # CHECK-NEXT: [0,1] .D==eeeeeeeeeeeeeeeeeER lock cmpxchgq %rcx, (%rdx)
236 # CHECK: Average Wait times (based on the timeline view):
237 # CHECK-NEXT: [0]: Executions
238 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
239 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
240 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
242 # CHECK: [0] [1] [2] [3]
243 # CHECK-NEXT: 0. 1 1.0 1.0 0.0 imulq %rax, %rax
244 # CHECK-NEXT: 1. 1 3.0 0.0 0.0 lock cmpxchgq %rcx, (%rdx)
246 # CHECK: [3] Code Region
248 # CHECK: Iterations: 1
249 # CHECK-NEXT: Instructions: 2
250 # CHECK-NEXT: Total Cycles: 23
251 # CHECK-NEXT: Total uOps: 7
253 # CHECK: Dispatch Width: 2
254 # CHECK-NEXT: uOps Per Cycle: 0.30
255 # CHECK-NEXT: IPC: 0.09
256 # CHECK-NEXT: Block RThroughput: 17.0
258 # CHECK: Instruction Info:
259 # CHECK-NEXT: [1]: #uOps
260 # CHECK-NEXT: [2]: Latency
261 # CHECK-NEXT: [3]: RThroughput
262 # CHECK-NEXT: [4]: MayLoad
263 # CHECK-NEXT: [5]: MayStore
264 # CHECK-NEXT: [6]: HasSideEffects (U)
266 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
267 # CHECK-NEXT: 1 6 4.00 imulq %rcx, %rcx
268 # CHECK-NEXT: 6 17 17.00 * * lock cmpxchgq %rcx, (%rdx)
271 # CHECK-NEXT: [0] - JALU0
272 # CHECK-NEXT: [1] - JALU1
273 # CHECK-NEXT: [2] - JDiv
274 # CHECK-NEXT: [3] - JFPA
275 # CHECK-NEXT: [4] - JFPM
276 # CHECK-NEXT: [5] - JFPU0
277 # CHECK-NEXT: [6] - JFPU1
278 # CHECK-NEXT: [7] - JLAGU
279 # CHECK-NEXT: [8] - JMul
280 # CHECK-NEXT: [9] - JSAGU
281 # CHECK-NEXT: [10] - JSTC
282 # CHECK-NEXT: [11] - JVALU0
283 # CHECK-NEXT: [12] - JVALU1
284 # CHECK-NEXT: [13] - JVIMUL
286 # CHECK: Resource pressure per iteration:
287 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
288 # CHECK-NEXT: 3.00 1.00 - - - - - 17.00 4.00 17.00 - - - -
290 # CHECK: Resource pressure by instruction:
291 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
292 # CHECK-NEXT: - 1.00 - - - - - - 4.00 - - - - - imulq %rcx, %rcx
293 # CHECK-NEXT: 3.00 - - - - - - 17.00 - 17.00 - - - - lock cmpxchgq %rcx, (%rdx)
295 # CHECK: Timeline view:
296 # CHECK-NEXT: 0123456789
297 # CHECK-NEXT: Index 0123456789 012
299 # CHECK: [0,0] DeeeeeeER . . . . imulq %rcx, %rcx
300 # CHECK-NEXT: [0,1] .D==eeeeeeeeeeeeeeeeeER lock cmpxchgq %rcx, (%rdx)
302 # CHECK: Average Wait times (based on the timeline view):
303 # CHECK-NEXT: [0]: Executions
304 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
305 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
306 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
308 # CHECK: [0] [1] [2] [3]
309 # CHECK-NEXT: 0. 1 1.0 1.0 0.0 imulq %rcx, %rcx
310 # CHECK-NEXT: 1. 1 3.0 0.0 0.0 lock cmpxchgq %rcx, (%rdx)
312 # CHECK: [4] Code Region
314 # CHECK: Iterations: 1
315 # CHECK-NEXT: Instructions: 3
316 # CHECK-NEXT: Total Cycles: 15
317 # CHECK-NEXT: Total uOps: 20
319 # CHECK: Dispatch Width: 2
320 # CHECK-NEXT: uOps Per Cycle: 1.33
321 # CHECK-NEXT: IPC: 0.20
322 # CHECK-NEXT: Block RThroughput: 10.0
324 # CHECK: Instruction Info:
325 # CHECK-NEXT: [1]: #uOps
326 # CHECK-NEXT: [2]: Latency
327 # CHECK-NEXT: [3]: RThroughput
328 # CHECK-NEXT: [4]: MayLoad
329 # CHECK-NEXT: [5]: MayStore
330 # CHECK-NEXT: [6]: HasSideEffects (U)
332 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
333 # CHECK-NEXT: 1 3 1.00 imull %eax, %eax
334 # CHECK-NEXT: 1 3 1.00 imull %edx, %edx
335 # CHECK-NEXT: 18 11 1.50 * * cmpxchg8b (%rsp)
338 # CHECK-NEXT: [0] - JALU0
339 # CHECK-NEXT: [1] - JALU1
340 # CHECK-NEXT: [2] - JDiv
341 # CHECK-NEXT: [3] - JFPA
342 # CHECK-NEXT: [4] - JFPM
343 # CHECK-NEXT: [5] - JFPU0
344 # CHECK-NEXT: [6] - JFPU1
345 # CHECK-NEXT: [7] - JLAGU
346 # CHECK-NEXT: [8] - JMul
347 # CHECK-NEXT: [9] - JSAGU
348 # CHECK-NEXT: [10] - JSTC
349 # CHECK-NEXT: [11] - JVALU0
350 # CHECK-NEXT: [12] - JVALU1
351 # CHECK-NEXT: [13] - JVIMUL
353 # CHECK: Resource pressure per iteration:
354 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
355 # CHECK-NEXT: 3.00 2.00 - - - - - 1.00 2.00 1.00 - - - -
357 # CHECK: Resource pressure by instruction:
358 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
359 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - imull %eax, %eax
360 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - imull %edx, %edx
361 # CHECK-NEXT: 3.00 - - - - - - 1.00 - 1.00 - - - - cmpxchg8b (%rsp)
363 # CHECK: Timeline view:
365 # CHECK-NEXT: Index 0123456789
367 # CHECK: [0,0] DeeeER . . imull %eax, %eax
368 # CHECK-NEXT: [0,1] D=eeeER . . imull %edx, %edx
369 # CHECK-NEXT: [0,2] .DeeeeeeeeeeeER cmpxchg8b (%rsp)
371 # CHECK: Average Wait times (based on the timeline view):
372 # CHECK-NEXT: [0]: Executions
373 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
374 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
375 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
377 # CHECK: [0] [1] [2] [3]
378 # CHECK-NEXT: 0. 1 1.0 1.0 0.0 imull %eax, %eax
379 # CHECK-NEXT: 1. 1 2.0 2.0 0.0 imull %edx, %edx
380 # CHECK-NEXT: 2. 1 1.0 0.0 0.0 cmpxchg8b (%rsp)
382 # CHECK: [5] Code Region
384 # CHECK: Iterations: 1
385 # CHECK-NEXT: Instructions: 3
386 # CHECK-NEXT: Total Cycles: 36
387 # CHECK-NEXT: Total uOps: 30
389 # CHECK: Dispatch Width: 2
390 # CHECK-NEXT: uOps Per Cycle: 0.83
391 # CHECK-NEXT: IPC: 0.08
392 # CHECK-NEXT: Block RThroughput: 15.0
394 # CHECK: Instruction Info:
395 # CHECK-NEXT: [1]: #uOps
396 # CHECK-NEXT: [2]: Latency
397 # CHECK-NEXT: [3]: RThroughput
398 # CHECK-NEXT: [4]: MayLoad
399 # CHECK-NEXT: [5]: MayStore
400 # CHECK-NEXT: [6]: HasSideEffects (U)
402 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
403 # CHECK-NEXT: 1 3 1.00 imull %eax, %eax
404 # CHECK-NEXT: 1 3 1.00 imull %edx, %edx
405 # CHECK-NEXT: 28 32 3.00 * * cmpxchg16b (%rsp)
408 # CHECK-NEXT: [0] - JALU0
409 # CHECK-NEXT: [1] - JALU1
410 # CHECK-NEXT: [2] - JDiv
411 # CHECK-NEXT: [3] - JFPA
412 # CHECK-NEXT: [4] - JFPM
413 # CHECK-NEXT: [5] - JFPU0
414 # CHECK-NEXT: [6] - JFPU1
415 # CHECK-NEXT: [7] - JLAGU
416 # CHECK-NEXT: [8] - JMul
417 # CHECK-NEXT: [9] - JSAGU
418 # CHECK-NEXT: [10] - JSTC
419 # CHECK-NEXT: [11] - JVALU0
420 # CHECK-NEXT: [12] - JVALU1
421 # CHECK-NEXT: [13] - JVIMUL
423 # CHECK: Resource pressure per iteration:
424 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
425 # CHECK-NEXT: 6.00 2.00 - - - - - 1.00 2.00 1.00 - - - -
427 # CHECK: Resource pressure by instruction:
428 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
429 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - imull %eax, %eax
430 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - imull %edx, %edx
431 # CHECK-NEXT: 6.00 - - - - - - 1.00 - 1.00 - - - - cmpxchg16b (%rsp)
433 # CHECK: Timeline view:
434 # CHECK-NEXT: 0123456789 012345
435 # CHECK-NEXT: Index 0123456789 0123456789
437 # CHECK: [0,0] DeeeER . . . . . . imull %eax, %eax
438 # CHECK-NEXT: [0,1] D=eeeER . . . . . . imull %edx, %edx
439 # CHECK-NEXT: [0,2] .DeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeER cmpxchg16b (%rsp)
441 # CHECK: Average Wait times (based on the timeline view):
442 # CHECK-NEXT: [0]: Executions
443 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
444 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
445 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
447 # CHECK: [0] [1] [2] [3]
448 # CHECK-NEXT: 0. 1 1.0 1.0 0.0 imull %eax, %eax
449 # CHECK-NEXT: 1. 1 2.0 2.0 0.0 imull %edx, %edx
450 # CHECK-NEXT: 2. 1 1.0 0.0 0.0 cmpxchg16b (%rsp)
452 # CHECK: [6] Code Region
454 # CHECK: Iterations: 1
455 # CHECK-NEXT: Instructions: 3
456 # CHECK-NEXT: Total Cycles: 23
457 # CHECK-NEXT: Total uOps: 20
459 # CHECK: Dispatch Width: 2
460 # CHECK-NEXT: uOps Per Cycle: 0.87
461 # CHECK-NEXT: IPC: 0.13
462 # CHECK-NEXT: Block RThroughput: 19.0
464 # CHECK: Instruction Info:
465 # CHECK-NEXT: [1]: #uOps
466 # CHECK-NEXT: [2]: Latency
467 # CHECK-NEXT: [3]: RThroughput
468 # CHECK-NEXT: [4]: MayLoad
469 # CHECK-NEXT: [5]: MayStore
470 # CHECK-NEXT: [6]: HasSideEffects (U)
472 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
473 # CHECK-NEXT: 1 3 1.00 imull %ebx, %ebx
474 # CHECK-NEXT: 1 3 1.00 imull %ecx, %ecx
475 # CHECK-NEXT: 18 19 19.00 * * lock cmpxchg8b (%rsp)
478 # CHECK-NEXT: [0] - JALU0
479 # CHECK-NEXT: [1] - JALU1
480 # CHECK-NEXT: [2] - JDiv
481 # CHECK-NEXT: [3] - JFPA
482 # CHECK-NEXT: [4] - JFPM
483 # CHECK-NEXT: [5] - JFPU0
484 # CHECK-NEXT: [6] - JFPU1
485 # CHECK-NEXT: [7] - JLAGU
486 # CHECK-NEXT: [8] - JMul
487 # CHECK-NEXT: [9] - JSAGU
488 # CHECK-NEXT: [10] - JSTC
489 # CHECK-NEXT: [11] - JVALU0
490 # CHECK-NEXT: [12] - JVALU1
491 # CHECK-NEXT: [13] - JVIMUL
493 # CHECK: Resource pressure per iteration:
494 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
495 # CHECK-NEXT: 3.00 2.00 - - - - - 19.00 2.00 19.00 - - - -
497 # CHECK: Resource pressure by instruction:
498 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
499 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - imull %ebx, %ebx
500 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - imull %ecx, %ecx
501 # CHECK-NEXT: 3.00 - - - - - - 19.00 - 19.00 - - - - lock cmpxchg8b (%rsp)
503 # CHECK: Timeline view:
504 # CHECK-NEXT: 0123456789
505 # CHECK-NEXT: Index 0123456789 012
507 # CHECK: [0,0] DeeeER . . . . imull %ebx, %ebx
508 # CHECK-NEXT: [0,1] D=eeeER . . . . imull %ecx, %ecx
509 # CHECK-NEXT: [0,2] .DeeeeeeeeeeeeeeeeeeeER lock cmpxchg8b (%rsp)
511 # CHECK: Average Wait times (based on the timeline view):
512 # CHECK-NEXT: [0]: Executions
513 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
514 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
515 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
517 # CHECK: [0] [1] [2] [3]
518 # CHECK-NEXT: 0. 1 1.0 1.0 0.0 imull %ebx, %ebx
519 # CHECK-NEXT: 1. 1 2.0 2.0 0.0 imull %ecx, %ecx
520 # CHECK-NEXT: 2. 1 1.0 0.0 0.0 lock cmpxchg8b (%rsp)
522 # CHECK: [7] Code Region
524 # CHECK: Iterations: 1
525 # CHECK-NEXT: Instructions: 3
526 # CHECK-NEXT: Total Cycles: 42
527 # CHECK-NEXT: Total uOps: 30
529 # CHECK: Dispatch Width: 2
530 # CHECK-NEXT: uOps Per Cycle: 0.71
531 # CHECK-NEXT: IPC: 0.07
532 # CHECK-NEXT: Block RThroughput: 38.0
534 # CHECK: Instruction Info:
535 # CHECK-NEXT: [1]: #uOps
536 # CHECK-NEXT: [2]: Latency
537 # CHECK-NEXT: [3]: RThroughput
538 # CHECK-NEXT: [4]: MayLoad
539 # CHECK-NEXT: [5]: MayStore
540 # CHECK-NEXT: [6]: HasSideEffects (U)
542 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
543 # CHECK-NEXT: 1 3 1.00 imull %ebx, %ebx
544 # CHECK-NEXT: 1 3 1.00 imull %ecx, %ecx
545 # CHECK-NEXT: 28 38 38.00 * * lock cmpxchg16b (%rsp)
548 # CHECK-NEXT: [0] - JALU0
549 # CHECK-NEXT: [1] - JALU1
550 # CHECK-NEXT: [2] - JDiv
551 # CHECK-NEXT: [3] - JFPA
552 # CHECK-NEXT: [4] - JFPM
553 # CHECK-NEXT: [5] - JFPU0
554 # CHECK-NEXT: [6] - JFPU1
555 # CHECK-NEXT: [7] - JLAGU
556 # CHECK-NEXT: [8] - JMul
557 # CHECK-NEXT: [9] - JSAGU
558 # CHECK-NEXT: [10] - JSTC
559 # CHECK-NEXT: [11] - JVALU0
560 # CHECK-NEXT: [12] - JVALU1
561 # CHECK-NEXT: [13] - JVIMUL
563 # CHECK: Resource pressure per iteration:
564 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
565 # CHECK-NEXT: 6.00 2.00 - - - - - 38.00 2.00 38.00 - - - -
567 # CHECK: Resource pressure by instruction:
568 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
569 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - imull %ebx, %ebx
570 # CHECK-NEXT: - 1.00 - - - - - - 1.00 - - - - - imull %ecx, %ecx
571 # CHECK-NEXT: 6.00 - - - - - - 38.00 - 38.00 - - - - lock cmpxchg16b (%rsp)
573 # CHECK: Timeline view:
574 # CHECK-NEXT: 0123456789 0123456789
575 # CHECK-NEXT: Index 0123456789 0123456789 01
577 # CHECK: [0,0] DeeeER . . . . . . .. imull %ebx, %ebx
578 # CHECK-NEXT: [0,1] D=eeeER . . . . . . .. imull %ecx, %ecx
579 # CHECK-NEXT: [0,2] .DeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeER lock cmpxchg16b (%rsp)
581 # CHECK: Average Wait times (based on the timeline view):
582 # CHECK-NEXT: [0]: Executions
583 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
584 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
585 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
587 # CHECK: [0] [1] [2] [3]
588 # CHECK-NEXT: 0. 1 1.0 1.0 0.0 imull %ebx, %ebx
589 # CHECK-NEXT: 1. 1 2.0 2.0 0.0 imull %ecx, %ecx
590 # CHECK-NEXT: 2. 1 1.0 0.0 0.0 lock cmpxchg16b (%rsp)