[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / llvm-mca / X86 / Znver1 / partial-reg-update-3.s
blobabe923b5906b0b1435d6303bbf243704ed392dcf
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver1 -iterations=1500 -timeline -timeline-max-iterations=6 < %s | FileCheck %s
4 # The ILP is limited by the false dependency on %dx. So, the mov cannot execute
5 # in parallel with the add.
7 add %cx, %dx
8 mov %ax, %dx
9 xor %bx, %dx
11 # CHECK: Iterations: 1500
12 # CHECK-NEXT: Instructions: 4500
13 # CHECK-NEXT: Total Cycles: 4503
14 # CHECK-NEXT: Total uOps: 4500
16 # CHECK: Dispatch Width: 4
17 # CHECK-NEXT: uOps Per Cycle: 1.00
18 # CHECK-NEXT: IPC: 1.00
19 # CHECK-NEXT: Block RThroughput: 0.8
21 # CHECK: Instruction Info:
22 # CHECK-NEXT: [1]: #uOps
23 # CHECK-NEXT: [2]: Latency
24 # CHECK-NEXT: [3]: RThroughput
25 # CHECK-NEXT: [4]: MayLoad
26 # CHECK-NEXT: [5]: MayStore
27 # CHECK-NEXT: [6]: HasSideEffects (U)
29 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
30 # CHECK-NEXT: 1 1 0.25 addw %cx, %dx
31 # CHECK-NEXT: 1 1 0.25 movw %ax, %dx
32 # CHECK-NEXT: 1 1 0.25 xorw %bx, %dx
34 # CHECK: Resources:
35 # CHECK-NEXT: [0] - ZnAGU0
36 # CHECK-NEXT: [1] - ZnAGU1
37 # CHECK-NEXT: [2] - ZnALU0
38 # CHECK-NEXT: [3] - ZnALU1
39 # CHECK-NEXT: [4] - ZnALU2
40 # CHECK-NEXT: [5] - ZnALU3
41 # CHECK-NEXT: [6] - ZnDivider
42 # CHECK-NEXT: [7] - ZnFPU0
43 # CHECK-NEXT: [8] - ZnFPU1
44 # CHECK-NEXT: [9] - ZnFPU2
45 # CHECK-NEXT: [10] - ZnFPU3
46 # CHECK-NEXT: [11] - ZnMultiplier
48 # CHECK: Resource pressure per iteration:
49 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]
50 # CHECK-NEXT: - - 0.75 0.75 0.75 0.75 - - - - - -
52 # CHECK: Resource pressure by instruction:
53 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions:
54 # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - addw %cx, %dx
55 # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - movw %ax, %dx
56 # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - xorw %bx, %dx
58 # CHECK: Timeline view:
59 # CHECK-NEXT: 0123456789
60 # CHECK-NEXT: Index 0123456789 0
62 # CHECK: [0,0] DeER . . . . addw %cx, %dx
63 # CHECK-NEXT: [0,1] D=eER. . . . movw %ax, %dx
64 # CHECK-NEXT: [0,2] D==eER . . . xorw %bx, %dx
65 # CHECK-NEXT: [1,0] D===eER . . . addw %cx, %dx
66 # CHECK-NEXT: [1,1] .D===eER . . . movw %ax, %dx
67 # CHECK-NEXT: [1,2] .D====eER . . . xorw %bx, %dx
68 # CHECK-NEXT: [2,0] .D=====eER. . . addw %cx, %dx
69 # CHECK-NEXT: [2,1] .D======eER . . movw %ax, %dx
70 # CHECK-NEXT: [2,2] . D======eER . . xorw %bx, %dx
71 # CHECK-NEXT: [3,0] . D=======eER . . addw %cx, %dx
72 # CHECK-NEXT: [3,1] . D========eER . . movw %ax, %dx
73 # CHECK-NEXT: [3,2] . D=========eER. . xorw %bx, %dx
74 # CHECK-NEXT: [4,0] . D=========eER . addw %cx, %dx
75 # CHECK-NEXT: [4,1] . D==========eER . movw %ax, %dx
76 # CHECK-NEXT: [4,2] . D===========eER . xorw %bx, %dx
77 # CHECK-NEXT: [5,0] . D============eER . addw %cx, %dx
78 # CHECK-NEXT: [5,1] . D============eER. movw %ax, %dx
79 # CHECK-NEXT: [5,2] . D=============eER xorw %bx, %dx
81 # CHECK: Average Wait times (based on the timeline view):
82 # CHECK-NEXT: [0]: Executions
83 # CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
84 # CHECK-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
85 # CHECK-NEXT: [3]: Average time elapsed from WB until retire stage
87 # CHECK: [0] [1] [2] [3]
88 # CHECK-NEXT: 0. 6 7.0 0.2 0.0 addw %cx, %dx
89 # CHECK-NEXT: 1. 6 7.7 0.0 0.0 movw %ax, %dx
90 # CHECK-NEXT: 2. 6 8.5 0.0 0.0 xorw %bx, %dx