xref: /linux/rust/zerocopy/benches/ref_from_bytes_dynamic_size.x86-64.mca (revision efe86f088f48f18c27b648e5724048947f3b7fb4)
1Iterations:        100
2Instructions:      1800
3Total Cycles:      704
4Total uOps:        2000
5
6Dispatch Width:    4
7uOps Per Cycle:    2.84
8IPC:               2.56
9Block RThroughput: 5.0
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                        cmp	rsi, 4
23 1      1     0.50                        setb	al
24 1      1     0.33                        or	al, dil
25 1      1     0.33                        test	al, 1
26 1      1     1.00                        je	.LBB5_2
27 1      0     0.25                        xor	eax, eax
28 1      1     1.00                  U     ret
29 1      1     0.50                        lea	rcx, [rdx - 4]
30 1      1     0.33                        mov	rsi, rcx
31 1      1     0.33                        and	rsi, -2
32 1      1     0.33                        add	rsi, 4
33 1      1     0.50                        shr	rcx
34 1      0     0.25                        xor	eax, eax
35 1      1     0.33                        cmp	rdx, rsi
36 2      2     0.67                        cmove	rdx, rcx
37 2      2     0.67                        cmove	rax, rdi
38 1      1     1.00                  U     ret
39
40
41Resources:
42[0]   - SBDivider
43[1]   - SBFPDivider
44[2]   - SBPort0
45[3]   - SBPort1
46[4]   - SBPort4
47[5]   - SBPort5
48[6.0] - SBPort23
49[6.1] - SBPort23
50
51
52Resource pressure per iteration:
53[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]
54 -      -     5.97   5.98    -     6.05    -      -
55
56Resource pressure by instruction:
57[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
58 -      -     0.97   0.01    -     0.02    -      -     mov	rdx, rsi
59 -      -     0.01   0.02    -     0.97    -      -     cmp	rsi, 4
60 -      -     0.03    -      -     0.97    -      -     setb	al
61 -      -     0.01   0.02    -     0.97    -      -     or	al, dil
62 -      -      -     0.98    -     0.02    -      -     test	al, 1
63 -      -      -      -      -     1.00    -      -     je	.LBB5_2
64 -      -      -      -      -      -      -      -     xor	eax, eax
65 -      -      -      -      -     1.00    -      -     ret
66 -      -     0.98   0.02    -      -      -      -     lea	rcx, [rdx - 4]
67 -      -     0.01   0.99    -      -      -      -     mov	rsi, rcx
68 -      -      -     0.98    -     0.02    -      -     and	rsi, -2
69 -      -     0.98   0.01    -     0.01    -      -     add	rsi, 4
70 -      -     0.99    -      -     0.01    -      -     shr	rcx
71 -      -      -      -      -      -      -      -     xor	eax, eax
72 -      -     0.02   0.97    -     0.01    -      -     cmp	rdx, rsi
73 -      -     0.99   0.99    -     0.02    -      -     cmove	rdx, rcx
74 -      -     0.98   0.99    -     0.03    -      -     cmove	rax, rdi
75 -      -      -      -      -     1.00    -      -     ret
76