xref: /linux/rust/zerocopy/benches/read_from_bytes.x86-64.mca (revision 056a5087d87ead77dedbe9cf5bde53b7cd4b4651)
1Iterations:        100
2Instructions:      1300
3Total Cycles:      377
4Total uOps:        1400
5
6Dispatch Width:    4
7uOps Per Cycle:    3.71
8IPC:               3.45
9Block RThroughput: 3.5
10
11
12Instruction Info:
13[1]: #uOps
14[2]: Latency
15[3]: RThroughput
16[4]: MayLoad
17[5]: MayStore
18[6]: HasSideEffects (U)
19
20[1]    [2]    [3]    [4]    [5]    [6]    Instructions:
21 1      1     0.33                        mov	rcx, rsi
22 1      1     0.33                        cmp	rsi, 6
23 1      1     1.00                        jne	.LBB5_2
24 1      5     0.50    *                   mov	eax, dword ptr [rdi]
25 1      5     0.50    *                   movzx	ecx, word ptr [rdi + 4]
26 1      1     0.50                        shl	rcx, 32
27 1      1     0.33                        or	rcx, rax
28 1      1     0.50                        shl	rcx, 16
29 1      1     0.33                        inc	rcx
30 1      0     0.25                        xor	eax, eax
31 1      1     0.33                        cmp	rsi, 6
32 2      2     0.67                        cmove	rax, rcx
33 1      1     1.00                  U     ret
34
35
36Resources:
37[0]   - SBDivider
38[1]   - SBFPDivider
39[2]   - SBPort0
40[3]   - SBPort1
41[4]   - SBPort4
42[5]   - SBPort5
43[6.0] - SBPort23
44[6.1] - SBPort23
45
46
47Resource pressure per iteration:
48[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]
49 -      -     3.66   3.67    -     3.67   1.00   1.00
50
51Resource pressure by instruction:
52[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
53 -      -     0.63   0.36    -     0.01    -      -     mov	rcx, rsi
54 -      -     0.05   0.05    -     0.90    -      -     cmp	rsi, 6
55 -      -      -      -      -     1.00    -      -     jne	.LBB5_2
56 -      -      -      -      -      -      -     1.00   mov	eax, dword ptr [rdi]
57 -      -      -      -      -      -     1.00    -     movzx	ecx, word ptr [rdi + 4]
58 -      -     0.97    -      -     0.03    -      -     shl	rcx, 32
59 -      -     0.02   0.35    -     0.63    -      -     or	rcx, rax
60 -      -     0.98    -      -     0.02    -      -     shl	rcx, 16
61 -      -      -     0.98    -     0.02    -      -     inc	rcx
62 -      -      -      -      -      -      -      -     xor	eax, eax
63 -      -     0.03   0.93    -     0.04    -      -     cmp	rsi, 6
64 -      -     0.98   1.00    -     0.02    -      -     cmove	rax, rcx
65 -      -      -      -      -     1.00    -      -     ret
66