xref: /linux/rust/zerocopy/benches/try_ref_from_bytes_dynamic_size.x86-64.mca (revision efe86f088f48f18c27b648e5724048947f3b7fb4)
1Iterations:        100
2Instructions:      2000
3Total Cycles:      639
4Total uOps:        2100
5
6Dispatch Width:    4
7uOps Per Cycle:    3.29
8IPC:               3.13
9Block RThroughput: 5.3
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	rdx, rsi
22 1      1     0.33                        mov	rax, rdi
23 1      1     0.33                        cmp	rsi, 4
24 1      1     0.50                        setb	cl
25 1      1     0.33                        or	cl, al
26 1      1     0.33                        test	cl, 1
27 1      1     1.00                        jne	.LBB5_4
28 1      1     0.50                        lea	rcx, [rdx - 4]
29 1      1     0.33                        mov	rsi, rcx
30 1      1     0.33                        and	rsi, -2
31 1      1     0.33                        add	rsi, 4
32 1      1     0.33                        cmp	rdx, rsi
33 1      1     1.00                        jne	.LBB5_4
34 2      6     0.50    *                   cmp	word ptr [rax], -16192
35 1      1     1.00                        jne	.LBB5_4
36 1      1     0.50                        shr	rcx
37 1      1     0.33                        mov	rdx, rcx
38 1      1     1.00                  U     ret
39 1      0     0.25                        xor	eax, eax
40 1      1     1.00                  U     ret
41
42
43Resources:
44[0]   - SBDivider
45[1]   - SBFPDivider
46[2]   - SBPort0
47[3]   - SBPort1
48[4]   - SBPort4
49[5]   - SBPort5
50[6.0] - SBPort23
51[6.1] - SBPort23
52
53
54Resource pressure per iteration:
55[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]
56 -      -     6.32   6.32    -     6.36   0.50   0.50
57
58Resource pressure by instruction:
59[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
60 -      -     0.33   0.66    -     0.01    -      -     mov	rdx, rsi
61 -      -     0.66   0.34    -      -      -      -     mov	rax, rdi
62 -      -     0.34   0.66    -      -      -      -     cmp	rsi, 4
63 -      -     0.99    -      -     0.01    -      -     setb	cl
64 -      -     0.01   0.99    -      -      -      -     or	cl, al
65 -      -      -     1.00    -      -      -      -     test	cl, 1
66 -      -      -      -      -     1.00    -      -     jne	.LBB5_4
67 -      -     0.66   0.34    -      -      -      -     lea	rcx, [rdx - 4]
68 -      -     0.33   0.66    -     0.01    -      -     mov	rsi, rcx
69 -      -     1.00    -      -      -      -      -     and	rsi, -2
70 -      -     0.66   0.34    -      -      -      -     add	rsi, 4
71 -      -      -     1.00    -      -      -      -     cmp	rdx, rsi
72 -      -      -      -      -     1.00    -      -     jne	.LBB5_4
73 -      -      -      -      -     1.00   0.50   0.50   cmp	word ptr [rax], -16192
74 -      -      -      -      -     1.00    -      -     jne	.LBB5_4
75 -      -     0.67    -      -     0.33    -      -     shr	rcx
76 -      -     0.67   0.33    -      -      -      -     mov	rdx, rcx
77 -      -      -      -      -     1.00    -      -     ret
78 -      -      -      -      -      -      -      -     xor	eax, eax
79 -      -      -      -      -     1.00    -      -     ret
80