1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -timeline -timeline-max-iterations=3 < %s | FileCheck %s
4 leaq
8(%rsp
, %rdi
, 2), %rax
5 vbroadcastss
(%rax
), %ymm0
7 # CHECK: Iterations: 100
8 # CHECK-NEXT: Instructions: 200
9 # CHECK-NEXT: Total Cycles: 209
10 # CHECK-NEXT: Total uOps: 300
12 # CHECK: Dispatch Width: 2
13 # CHECK-NEXT: uOps Per Cycle: 1.44
14 # CHECK-NEXT: IPC: 0.96
15 # CHECK-NEXT: Block RThroughput: 2.0
17 # CHECK: Instruction Info:
18 # CHECK-NEXT: [1]: #uOps
19 # CHECK-NEXT: [2]: Latency
20 # CHECK-NEXT: [3]: RThroughput
21 # CHECK-NEXT: [4]: MayLoad
22 # CHECK-NEXT: [5]: MayStore
23 # CHECK-NEXT: [6]: HasSideEffects (U)
25 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
26 # CHECK-NEXT: 1 2 1.00 leaq 8(%rsp,%rdi,2), %rax
27 # CHECK-NEXT: 2 6 2.00 * vbroadcastss (%rax), %ymm0
30 # CHECK-NEXT: [0] - JALU0
31 # CHECK-NEXT: [1] - JALU1
32 # CHECK-NEXT: [2] - JDiv
33 # CHECK-NEXT: [3] - JFPA
34 # CHECK-NEXT: [4] - JFPM
35 # CHECK-NEXT: [5] - JFPU0
36 # CHECK-NEXT: [6] - JFPU1
37 # CHECK-NEXT: [7] - JLAGU
38 # CHECK-NEXT: [8] - JMul
39 # CHECK-NEXT: [9] - JSAGU
40 # CHECK-NEXT: [10] - JSTC
41 # CHECK-NEXT: [11] - JVALU0
42 # CHECK-NEXT: [12] - JVALU1
43 # CHECK-NEXT: [13] - JVIMUL
45 # CHECK: Resource pressure per iteration:
46 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
47 # CHECK-NEXT: - 1.00 - 2.00 2.00 1.00 1.00 1.00 - 1.00 - - - -
49 # CHECK: Resource pressure by instruction:
50 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
51 # CHECK-NEXT: - 1.00 - - - - - - - 1.00 - - - - leaq 8(%rsp,%rdi,2), %rax
52 # CHECK-NEXT: - - - 2.00 2.00 1.00 1.00 1.00 - - - - - - vbroadcastss (%rax), %ymm0
54 # CHECK: Timeline view:
56 # CHECK-NEXT: Index 0123456789
58 # CHECK: [0,0] DeeER. . . leaq 8(%rsp,%rdi,2), %rax
59 # CHECK-NEXT: [0,1] .D=eeeeeeER . vbroadcastss (%rax), %ymm0
60 # CHECK-NEXT: [1,0] . DeeE----R . leaq 8(%rsp,%rdi,2), %rax
61 # CHECK-NEXT: [1,1] . D=eeeeeeER . vbroadcastss (%rax), %ymm0
62 # CHECK-NEXT: [2,0] . DeeE----R . leaq 8(%rsp,%rdi,2), %rax
63 # CHECK-NEXT: [2,1] . D=eeeeeeER vbroadcastss (%rax), %ymm0
65 # CHECK: Average Wait times (based on the timeline view):
66 # CHECK-NEXT: [0]: Executions
67 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
68 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
69 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
71 # CHECK: [0] [1] [2] [3]
72 # CHECK-NEXT: 0. 3 1.0 1.0 2.7 leaq 8(%rsp,%rdi,2), %rax
73 # CHECK-NEXT: 1. 3 2.0 0.0 0.0 vbroadcastss (%rax), %ymm0