Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / BdVer2 / scheduler-queue-usage.s
blobc6a7d448610d22d9e6af2a2fd8ef365d8533f64e
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -iterations=1 -scheduler-stats < %s | FileCheck %s
4 vmulps (%rsi), %xmm0, %xmm0
5 add %rsi, %rsi
7 # CHECK: Iterations: 1
8 # CHECK-NEXT: Instructions: 2
9 # CHECK-NEXT: Total Cycles: 13
10 # CHECK-NEXT: Total uOps: 2
12 # CHECK: Dispatch Width: 4
13 # CHECK-NEXT: uOps Per Cycle: 0.15
14 # CHECK-NEXT: IPC: 0.15
15 # CHECK-NEXT: Block RThroughput: 1.5
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 10 1.50 * vmulps (%rsi), %xmm0, %xmm0
27 # CHECK-NEXT: 1 1 1.00 addq %rsi, %rsi
29 # CHECK: Schedulers - number of cycles where we saw N micro opcodes issued:
30 # CHECK-NEXT: [# issued], [# cycles]
31 # CHECK-NEXT: 0, 12 (92.3%)
32 # CHECK-NEXT: 2, 1 (7.7%)
34 # CHECK: Scheduler's queue usage:
35 # CHECK-NEXT: [1] Resource name.
36 # CHECK-NEXT: [2] Average number of used buffer entries.
37 # CHECK-NEXT: [3] Maximum number of used buffer entries.
38 # CHECK-NEXT: [4] Total number of buffer entries.
40 # CHECK: [1] [2] [3] [4]
41 # CHECK-NEXT: PdEX 0 2 40
42 # CHECK-NEXT: PdFPU 0 1 64
43 # CHECK-NEXT: PdLoad 0 1 40
44 # CHECK-NEXT: PdStore 0 0 24
46 # CHECK: Resources:
47 # CHECK-NEXT: [0.0] - PdAGLU01
48 # CHECK-NEXT: [0.1] - PdAGLU01
49 # CHECK-NEXT: [1] - PdBranch
50 # CHECK-NEXT: [2] - PdCount
51 # CHECK-NEXT: [3] - PdDiv
52 # CHECK-NEXT: [4] - PdEX0
53 # CHECK-NEXT: [5] - PdEX1
54 # CHECK-NEXT: [6] - PdFPCVT
55 # CHECK-NEXT: [7.0] - PdFPFMA
56 # CHECK-NEXT: [7.1] - PdFPFMA
57 # CHECK-NEXT: [8.0] - PdFPMAL
58 # CHECK-NEXT: [8.1] - PdFPMAL
59 # CHECK-NEXT: [9] - PdFPMMA
60 # CHECK-NEXT: [10] - PdFPSTO
61 # CHECK-NEXT: [11] - PdFPU0
62 # CHECK-NEXT: [12] - PdFPU1
63 # CHECK-NEXT: [13] - PdFPU2
64 # CHECK-NEXT: [14] - PdFPU3
65 # CHECK-NEXT: [15] - PdFPXBR
66 # CHECK-NEXT: [16.0] - PdLoad
67 # CHECK-NEXT: [16.1] - PdLoad
68 # CHECK-NEXT: [17] - PdMul
69 # CHECK-NEXT: [18] - PdStore
71 # CHECK: Resource pressure per iteration:
72 # 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]
73 # CHECK-NEXT: - 3.00 - - - - 2.00 - - 1.00 - - - - - 1.00 - - - - 3.00 - -
75 # CHECK: Resource pressure by instruction:
76 # 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:
77 # CHECK-NEXT: - 3.00 - - - - - - - 1.00 - - - - - 1.00 - - - - 3.00 - - vmulps (%rsi), %xmm0, %xmm0
78 # CHECK-NEXT: - - - - - - 2.00 - - - - - - - - - - - - - - - - addq %rsi, %rsi