xref: /linux/rust/zerocopy/benches/write_to_dynamic_size.x86-64.mca (revision b079329b8691768962aa514b8f8c9077ca352459)
1*c3739801SMiguel OjedaIterations:        100
2*c3739801SMiguel OjedaInstructions:      1900
3*c3739801SMiguel OjedaTotal Cycles:      2890
4*c3739801SMiguel OjedaTotal uOps:        2500
5*c3739801SMiguel Ojeda
6*c3739801SMiguel OjedaDispatch Width:    4
7*c3739801SMiguel OjedauOps Per Cycle:    0.87
8*c3739801SMiguel OjedaIPC:               0.66
9*c3739801SMiguel OjedaBlock RThroughput: 6.3
10*c3739801SMiguel Ojeda
11*c3739801SMiguel Ojeda
12*c3739801SMiguel OjedaInstruction Info:
13*c3739801SMiguel Ojeda[1]: #uOps
14*c3739801SMiguel Ojeda[2]: Latency
15*c3739801SMiguel Ojeda[3]: RThroughput
16*c3739801SMiguel Ojeda[4]: MayLoad
17*c3739801SMiguel Ojeda[5]: MayStore
18*c3739801SMiguel Ojeda[6]: HasSideEffects (U)
19*c3739801SMiguel Ojeda
20*c3739801SMiguel Ojeda[1]    [2]    [3]    [4]    [5]    [6]    Instructions:
21*c3739801SMiguel Ojeda 2      5     1.00           *            push	r14
22*c3739801SMiguel Ojeda 2      5     1.00           *            push	rbx
23*c3739801SMiguel Ojeda 2      5     1.00           *            push	rax
24*c3739801SMiguel Ojeda 1      1     0.33                        mov	rbx, rcx
25*c3739801SMiguel Ojeda 1      1     0.50                        lea	r14, [2*rsi + 5]
26*c3739801SMiguel Ojeda 1      1     0.33                        and	r14, -2
27*c3739801SMiguel Ojeda 1      1     0.33                        cmp	rcx, r14
28*c3739801SMiguel Ojeda 1      1     1.00                        jne	.LBB5_2
29*c3739801SMiguel Ojeda 1      1     0.33                        mov	rax, rdi
30*c3739801SMiguel Ojeda 1      1     0.33                        mov	rdi, rdx
31*c3739801SMiguel Ojeda 1      1     0.33                        mov	rsi, rax
32*c3739801SMiguel Ojeda 1      1     0.33                        mov	rdx, rbx
33*c3739801SMiguel Ojeda 4      7     1.00    *                   call	qword ptr [rip + memcpy@GOTPCREL]
34*c3739801SMiguel Ojeda 1      1     0.33                        cmp	rbx, r14
35*c3739801SMiguel Ojeda 1      1     0.50                        sete	al
36*c3739801SMiguel Ojeda 1      1     0.33                        add	rsp, 8
37*c3739801SMiguel Ojeda 1      6     0.50    *                   pop	rbx
38*c3739801SMiguel Ojeda 1      6     0.50    *                   pop	r14
39*c3739801SMiguel Ojeda 1      1     1.00                  U     ret
40*c3739801SMiguel Ojeda
41*c3739801SMiguel Ojeda
42*c3739801SMiguel OjedaResources:
43*c3739801SMiguel Ojeda[0]   - SBDivider
44*c3739801SMiguel Ojeda[1]   - SBFPDivider
45*c3739801SMiguel Ojeda[2]   - SBPort0
46*c3739801SMiguel Ojeda[3]   - SBPort1
47*c3739801SMiguel Ojeda[4]   - SBPort4
48*c3739801SMiguel Ojeda[5]   - SBPort5
49*c3739801SMiguel Ojeda[6.0] - SBPort23
50*c3739801SMiguel Ojeda[6.1] - SBPort23
51*c3739801SMiguel Ojeda
52*c3739801SMiguel Ojeda
53*c3739801SMiguel OjedaResource pressure per iteration:
54*c3739801SMiguel Ojeda[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]
55*c3739801SMiguel Ojeda -      -     4.66   4.64   4.00   4.70   4.00   3.00
56*c3739801SMiguel Ojeda
57*c3739801SMiguel OjedaResource pressure by instruction:
58*c3739801SMiguel Ojeda[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
59*c3739801SMiguel Ojeda -      -      -      -     1.00    -      -     1.00   push	r14
60*c3739801SMiguel Ojeda -      -      -      -     1.00    -     1.00    -     push	rbx
61*c3739801SMiguel Ojeda -      -      -      -     1.00    -      -     1.00   push	rax
62*c3739801SMiguel Ojeda -      -     0.02   0.97    -     0.01    -      -     mov	rbx, rcx
63*c3739801SMiguel Ojeda -      -     0.97   0.03    -      -      -      -     lea	r14, [2*rsi + 5]
64*c3739801SMiguel Ojeda -      -     0.63   0.35    -     0.02    -      -     and	r14, -2
65*c3739801SMiguel Ojeda -      -     0.31   0.34    -     0.35    -      -     cmp	rcx, r14
66*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     jne	.LBB5_2
67*c3739801SMiguel Ojeda -      -     0.33   0.33    -     0.34    -      -     mov	rax, rdi
68*c3739801SMiguel Ojeda -      -     0.36   0.31    -     0.33    -      -     mov	rdi, rdx
69*c3739801SMiguel Ojeda -      -     0.33   0.35    -     0.32    -      -     mov	rsi, rax
70*c3739801SMiguel Ojeda -      -     0.35   0.63    -     0.02    -      -     mov	rdx, rbx
71*c3739801SMiguel Ojeda -      -      -      -     1.00   1.00   2.00    -     call	qword ptr [rip + memcpy@GOTPCREL]
72*c3739801SMiguel Ojeda -      -     0.65   0.35    -      -      -      -     cmp	rbx, r14
73*c3739801SMiguel Ojeda -      -     0.69    -      -     0.31    -      -     sete	al
74*c3739801SMiguel Ojeda -      -     0.02   0.98    -      -      -      -     add	rsp, 8
75*c3739801SMiguel Ojeda -      -      -      -      -      -      -     1.00   pop	rbx
76*c3739801SMiguel Ojeda -      -      -      -      -      -     1.00    -     pop	r14
77*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     ret
78