Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / BtVer2 / partial-reg-update-5.s
blob2d1397c101ff84541a06b5b9bdd560421941b37d
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=1500 -timeline -timeline-max-iterations=3 < %s | FileCheck %s
4 # perf stat reports a throughput of 1.00 IPC for this code snippet.
6 lzcnt %ax, %bx ## partial register stall.
8 # CHECK: Iterations: 1500
9 # CHECK-NEXT: Instructions: 1500
10 # CHECK-NEXT: Total Cycles: 1503
11 # CHECK-NEXT: Total uOps: 1500
13 # CHECK: Dispatch Width: 2
14 # CHECK-NEXT: uOps Per Cycle: 1.00
15 # CHECK-NEXT: IPC: 1.00
16 # CHECK-NEXT: Block RThroughput: 0.5
18 # CHECK: Instruction Info:
19 # CHECK-NEXT: [1]: #uOps
20 # CHECK-NEXT: [2]: Latency
21 # CHECK-NEXT: [3]: RThroughput
22 # CHECK-NEXT: [4]: MayLoad
23 # CHECK-NEXT: [5]: MayStore
24 # CHECK-NEXT: [6]: HasSideEffects (U)
26 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
27 # CHECK-NEXT: 1 1 0.50 lzcntw %ax, %bx
29 # CHECK: Resources:
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: 0.50 0.50 - - - - - - - - - - - -
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: 0.50 0.50 - - - - - - - - - - - - lzcntw %ax, %bx
53 # CHECK: Timeline view:
54 # CHECK-NEXT: Index 012345
56 # CHECK: [0,0] DeER . lzcntw %ax, %bx
57 # CHECK-NEXT: [1,0] D=eER. lzcntw %ax, %bx
58 # CHECK-NEXT: [2,0] .D=eER lzcntw %ax, %bx
60 # CHECK: Average Wait times (based on the timeline view):
61 # CHECK-NEXT: [0]: Executions
62 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
63 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
64 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
66 # CHECK: [0] [1] [2] [3]
67 # CHECK-NEXT: 0. 3 1.7 0.3 0.0 lzcntw %ax, %bx