1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
Iterations: 100
Instructions: 1600
Total Cycles: 539
Total uOps: 1700
Dispatch Width: 4
uOps Per Cycle: 3.15
IPC: 2.97
Block RThroughput: 4.3
Instruction Info:
[1]: #uOps
[2]: Latency
[3]: RThroughput
[4]: MayLoad
[5]: MayStore
[6]: HasSideEffects (U)
[1] [2] [3] [4] [5] [6] Instructions:
1 1 0.33 movabs rax, 3074457345618258598
1 1 0.33 cmp rdx, rax
2 2 1.00 seta cl
1 1 0.33 mov rax, rdi
1 1 0.33 test al, 3
1 1 0.50 setne dil
1 1 0.33 or dil, cl
1 1 1.00 jne .LBB5_2
1 1 0.50 lea rcx, [rdx + 2*rdx]
1 1 0.33 or rcx, 3
1 1 0.33 add rcx, 9
1 1 0.33 cmp rsi, rcx
1 1 1.00 je .LBB5_3
1 0 0.25 xor eax, eax
1 1 0.33 mov rdx, rsi
1 1 1.00 U ret
Resources:
[0] - SBDivider
[1] - SBFPDivider
[2] - SBPort0
[3] - SBPort1
[4] - SBPort4
[5] - SBPort5
[6.0] - SBPort23
[6.1] - SBPort23
Resource pressure per iteration:
[0] [1] [2] [3] [4] [5] [6.0] [6.1]
- - 5.33 5.32 - 5.35 - -
Resource pressure by instruction:
[0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
- - 0.01 0.98 - 0.01 - - movabs rax, 3074457345618258598
- - - 1.00 - - - - cmp rdx, rax
- - 1.98 - - 0.02 - - seta cl
- - 0.02 0.98 - - - - mov rax, rdi
- - - 0.67 - 0.33 - - test al, 3
- - 0.67 - - 0.33 - - setne dil
- - 0.99 - - 0.01 - - or dil, cl
- - - - - 1.00 - - jne .LBB5_2
- - 0.01 0.99 - - - - lea rcx, [rdx + 2*rdx]
- - - 0.01 - 0.99 - - or rcx, 3
- - 0.65 0.02 - 0.33 - - add rcx, 9
- - 0.99 0.01 - - - - cmp rsi, rcx
- - - - - 1.00 - - je .LBB5_3
- - - - - - - - xor eax, eax
- - 0.01 0.66 - 0.33 - - mov rdx, rsi
- - - - - 1.00 - - ret
|