xref: /linux/rust/zerocopy/benches/write_to_dynamic_size.x86-64.mca (revision b079329b8691768962aa514b8f8c9077ca352459)
1Iterations:        100
2Instructions:      1900
3Total Cycles:      2890
4Total uOps:        2500
5
6Dispatch Width:    4
7uOps Per Cycle:    0.87
8IPC:               0.66
9Block RThroughput: 6.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 2      5     1.00           *            push	r14
22 2      5     1.00           *            push	rbx
23 2      5     1.00           *            push	rax
24 1      1     0.33                        mov	rbx, rcx
25 1      1     0.50                        lea	r14, [2*rsi + 5]
26 1      1     0.33                        and	r14, -2
27 1      1     0.33                        cmp	rcx, r14
28 1      1     1.00                        jne	.LBB5_2
29 1      1     0.33                        mov	rax, rdi
30 1      1     0.33                        mov	rdi, rdx
31 1      1     0.33                        mov	rsi, rax
32 1      1     0.33                        mov	rdx, rbx
33 4      7     1.00    *                   call	qword ptr [rip + memcpy@GOTPCREL]
34 1      1     0.33                        cmp	rbx, r14
35 1      1     0.50                        sete	al
36 1      1     0.33                        add	rsp, 8
37 1      6     0.50    *                   pop	rbx
38 1      6     0.50    *                   pop	r14
39 1      1     1.00                  U     ret
40
41
42Resources:
43[0]   - SBDivider
44[1]   - SBFPDivider
45[2]   - SBPort0
46[3]   - SBPort1
47[4]   - SBPort4
48[5]   - SBPort5
49[6.0] - SBPort23
50[6.1] - SBPort23
51
52
53Resource pressure per iteration:
54[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]
55 -      -     4.66   4.64   4.00   4.70   4.00   3.00
56
57Resource pressure by instruction:
58[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
59 -      -      -      -     1.00    -      -     1.00   push	r14
60 -      -      -      -     1.00    -     1.00    -     push	rbx
61 -      -      -      -     1.00    -      -     1.00   push	rax
62 -      -     0.02   0.97    -     0.01    -      -     mov	rbx, rcx
63 -      -     0.97   0.03    -      -      -      -     lea	r14, [2*rsi + 5]
64 -      -     0.63   0.35    -     0.02    -      -     and	r14, -2
65 -      -     0.31   0.34    -     0.35    -      -     cmp	rcx, r14
66 -      -      -      -      -     1.00    -      -     jne	.LBB5_2
67 -      -     0.33   0.33    -     0.34    -      -     mov	rax, rdi
68 -      -     0.36   0.31    -     0.33    -      -     mov	rdi, rdx
69 -      -     0.33   0.35    -     0.32    -      -     mov	rsi, rax
70 -      -     0.35   0.63    -     0.02    -      -     mov	rdx, rbx
71 -      -      -      -     1.00   1.00   2.00    -     call	qword ptr [rip + memcpy@GOTPCREL]
72 -      -     0.65   0.35    -      -      -      -     cmp	rbx, r14
73 -      -     0.69    -      -     0.31    -      -     sete	al
74 -      -     0.02   0.98    -      -      -      -     add	rsp, 8
75 -      -      -      -      -      -      -     1.00   pop	rbx
76 -      -      -      -      -      -     1.00    -     pop	r14
77 -      -      -      -      -     1.00    -      -     ret
78