Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / BtVer2 / scheduler-queue-usage.s
blob6670144777f86751c3e79867c305d2ca3d7de225
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 -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: 10
10 # CHECK-NEXT: Total uOps: 2
12 # CHECK: Dispatch Width: 2
13 # CHECK-NEXT: uOps Per Cycle: 0.20
14 # CHECK-NEXT: IPC: 0.20
15 # CHECK-NEXT: Block RThroughput: 1.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 7 1.00 * vmulps (%rsi), %xmm0, %xmm0
27 # CHECK-NEXT: 1 1 0.50 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, 9 (90.0%)
32 # CHECK-NEXT: 2, 1 (10.0%)
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: JALU01 0 1 20
42 # CHECK-NEXT: JFPU01 0 1 18
43 # CHECK-NEXT: JLSAGU 0 1 12
45 # CHECK: Resources:
46 # CHECK-NEXT: [0] - JALU0
47 # CHECK-NEXT: [1] - JALU1
48 # CHECK-NEXT: [2] - JDiv
49 # CHECK-NEXT: [3] - JFPA
50 # CHECK-NEXT: [4] - JFPM
51 # CHECK-NEXT: [5] - JFPU0
52 # CHECK-NEXT: [6] - JFPU1
53 # CHECK-NEXT: [7] - JLAGU
54 # CHECK-NEXT: [8] - JMul
55 # CHECK-NEXT: [9] - JSAGU
56 # CHECK-NEXT: [10] - JSTC
57 # CHECK-NEXT: [11] - JVALU0
58 # CHECK-NEXT: [12] - JVALU1
59 # CHECK-NEXT: [13] - JVIMUL
61 # CHECK: Resource pressure per iteration:
62 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
63 # CHECK-NEXT: - 1.00 - - 1.00 - 1.00 1.00 - - - - - -
65 # CHECK: Resource pressure by instruction:
66 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
67 # CHECK-NEXT: - - - - 1.00 - 1.00 1.00 - - - - - - vmulps (%rsi), %xmm0, %xmm0
68 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - addq %rsi, %rsi