summaryrefslogtreecommitdiff
path: root/rust/zerocopy/benches/read_from_bytes.x86-64.mca
blob: 77e787c19032db6324305dfe20362161c73c7112 (plain)
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
Iterations:        100
Instructions:      1300
Total Cycles:      377
Total uOps:        1400

Dispatch Width:    4
uOps Per Cycle:    3.71
IPC:               3.45
Block RThroughput: 3.5


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                        mov	rcx, rsi
 1      1     0.33                        cmp	rsi, 6
 1      1     1.00                        jne	.LBB5_2
 1      5     0.50    *                   mov	eax, dword ptr [rdi]
 1      5     0.50    *                   movzx	ecx, word ptr [rdi + 4]
 1      1     0.50                        shl	rcx, 32
 1      1     0.33                        or	rcx, rax
 1      1     0.50                        shl	rcx, 16
 1      1     0.33                        inc	rcx
 1      0     0.25                        xor	eax, eax
 1      1     0.33                        cmp	rsi, 6
 2      2     0.67                        cmove	rax, rcx
 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]  
 -      -     3.66   3.67    -     3.67   1.00   1.00   

Resource pressure by instruction:
[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
 -      -     0.63   0.36    -     0.01    -      -     mov	rcx, rsi
 -      -     0.05   0.05    -     0.90    -      -     cmp	rsi, 6
 -      -      -      -      -     1.00    -      -     jne	.LBB5_2
 -      -      -      -      -      -      -     1.00   mov	eax, dword ptr [rdi]
 -      -      -      -      -      -     1.00    -     movzx	ecx, word ptr [rdi + 4]
 -      -     0.97    -      -     0.03    -      -     shl	rcx, 32
 -      -     0.02   0.35    -     0.63    -      -     or	rcx, rax
 -      -     0.98    -      -     0.02    -      -     shl	rcx, 16
 -      -      -     0.98    -     0.02    -      -     inc	rcx
 -      -      -      -      -      -      -      -     xor	eax, eax
 -      -     0.03   0.93    -     0.04    -      -     cmp	rsi, 6
 -      -     0.98   1.00    -     0.02    -      -     cmove	rax, rcx
 -      -      -      -      -     1.00    -      -     ret