xref: /linux/rust/zerocopy/benches/new_vec_zeroed.x86-64.mca (revision b079329b8691768962aa514b8f8c9077ca352459)
1*c3739801SMiguel OjedaIterations:        100
2*c3739801SMiguel OjedaInstructions:      3700
3*c3739801SMiguel OjedaTotal Cycles:      3486
4*c3739801SMiguel OjedaTotal uOps:        4600
5*c3739801SMiguel Ojeda
6*c3739801SMiguel OjedaDispatch Width:    4
7*c3739801SMiguel OjedauOps Per Cycle:    1.32
8*c3739801SMiguel OjedaIPC:               1.06
9*c3739801SMiguel OjedaBlock RThroughput: 12.0
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 1      1     0.33                        mov	rax, rdi
22*c3739801SMiguel Ojeda 1      1     0.33                        movabs	rcx, 1537228672809129301
23*c3739801SMiguel Ojeda 1      1     0.33                        cmp	rsi, rcx
24*c3739801SMiguel Ojeda 1      1     1.00                        ja	.LBB5_5
25*c3739801SMiguel Ojeda 1      1     0.33                        test	rsi, rsi
26*c3739801SMiguel Ojeda 1      1     1.00                        je	.LBB5_2
27*c3739801SMiguel Ojeda 2      5     1.00           *            push	r15
28*c3739801SMiguel Ojeda 2      5     1.00           *            push	r14
29*c3739801SMiguel Ojeda 2      5     1.00           *            push	rbx
30*c3739801SMiguel Ojeda 1      1     0.50                        lea	rcx, [rsi + rsi]
31*c3739801SMiguel Ojeda 1      1     0.50                        lea	rbx, [rcx + 2*rcx]
32*c3739801SMiguel Ojeda 1      1     0.33                        mov	r14, rax
33*c3739801SMiguel Ojeda 1      1     0.33                        mov	r15, rsi
34*c3739801SMiguel Ojeda 4      7     1.00    *                   call	qword ptr [rip + __rustc::__rust_no_alloc_shim_is_unstable_v2@GOTPCREL]
35*c3739801SMiguel Ojeda 1      1     0.33                        mov	esi, 2
36*c3739801SMiguel Ojeda 1      1     0.33                        mov	rdi, rbx
37*c3739801SMiguel Ojeda 4      7     1.00    *                   call	qword ptr [rip + __rustc::__rust_alloc_zeroed@GOTPCREL]
38*c3739801SMiguel Ojeda 1      1     0.33                        mov	rsi, r15
39*c3739801SMiguel Ojeda 1      1     0.33                        mov	rcx, rax
40*c3739801SMiguel Ojeda 1      1     0.33                        mov	rax, r14
41*c3739801SMiguel Ojeda 1      1     0.33                        test	rcx, rcx
42*c3739801SMiguel Ojeda 1      6     0.50    *                   pop	rbx
43*c3739801SMiguel Ojeda 1      6     0.50    *                   pop	r14
44*c3739801SMiguel Ojeda 1      6     0.50    *                   pop	r15
45*c3739801SMiguel Ojeda 1      1     1.00                        je	.LBB5_5
46*c3739801SMiguel Ojeda 1      1     1.00           *            mov	qword ptr [rax], rsi
47*c3739801SMiguel Ojeda 1      1     1.00           *            mov	qword ptr [rax + 8], rcx
48*c3739801SMiguel Ojeda 1      1     1.00           *            mov	qword ptr [rax + 16], rsi
49*c3739801SMiguel Ojeda 1      1     1.00                  U     ret
50*c3739801SMiguel Ojeda 1      1     0.33                        movabs	rcx, -9223372036854775808
51*c3739801SMiguel Ojeda 1      1     1.00           *            mov	qword ptr [rax], rcx
52*c3739801SMiguel Ojeda 1      1     1.00                  U     ret
53*c3739801SMiguel Ojeda 1      1     0.33                        mov	ecx, 2
54*c3739801SMiguel Ojeda 1      1     1.00           *            mov	qword ptr [rax], rsi
55*c3739801SMiguel Ojeda 1      1     1.00           *            mov	qword ptr [rax + 8], rcx
56*c3739801SMiguel Ojeda 1      1     1.00           *            mov	qword ptr [rax + 16], rsi
57*c3739801SMiguel Ojeda 1      1     1.00                  U     ret
58*c3739801SMiguel Ojeda
59*c3739801SMiguel Ojeda
60*c3739801SMiguel OjedaResources:
61*c3739801SMiguel Ojeda[0]   - SBDivider
62*c3739801SMiguel Ojeda[1]   - SBFPDivider
63*c3739801SMiguel Ojeda[2]   - SBPort0
64*c3739801SMiguel Ojeda[3]   - SBPort1
65*c3739801SMiguel Ojeda[4]   - SBPort4
66*c3739801SMiguel Ojeda[5]   - SBPort5
67*c3739801SMiguel Ojeda[6.0] - SBPort23
68*c3739801SMiguel Ojeda[6.1] - SBPort23
69*c3739801SMiguel Ojeda
70*c3739801SMiguel Ojeda
71*c3739801SMiguel OjedaResource pressure per iteration:
72*c3739801SMiguel Ojeda[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]
73*c3739801SMiguel Ojeda -      -     6.99   6.99   12.00  10.02  8.00   9.00
74*c3739801SMiguel Ojeda
75*c3739801SMiguel OjedaResource pressure by instruction:
76*c3739801SMiguel Ojeda[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
77*c3739801SMiguel Ojeda -      -     0.01   0.98    -     0.01    -      -     mov	rax, rdi
78*c3739801SMiguel Ojeda -      -     0.98   0.02    -      -      -      -     movabs	rcx, 1537228672809129301
79*c3739801SMiguel Ojeda -      -     0.02   0.98    -      -      -      -     cmp	rsi, rcx
80*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     ja	.LBB5_5
81*c3739801SMiguel Ojeda -      -     0.98    -      -     0.02    -      -     test	rsi, rsi
82*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     je	.LBB5_2
83*c3739801SMiguel Ojeda -      -      -      -     1.00    -      -     1.00   push	r15
84*c3739801SMiguel Ojeda -      -      -      -     1.00    -     1.00    -     push	r14
85*c3739801SMiguel Ojeda -      -      -      -     1.00    -      -     1.00   push	rbx
86*c3739801SMiguel Ojeda -      -      -     1.00    -      -      -      -     lea	rcx, [rsi + rsi]
87*c3739801SMiguel Ojeda -      -      -     1.00    -      -      -      -     lea	rbx, [rcx + 2*rcx]
88*c3739801SMiguel Ojeda -      -     1.00    -      -      -      -      -     mov	r14, rax
89*c3739801SMiguel Ojeda -      -     1.00    -      -      -      -      -     mov	r15, rsi
90*c3739801SMiguel Ojeda -      -      -      -     1.00   1.00   2.00    -     call	qword ptr [rip + __rustc::__rust_no_alloc_shim_is_unstable_v2@GOTPCREL]
91*c3739801SMiguel Ojeda -      -      -     0.01    -     0.99    -      -     mov	esi, 2
92*c3739801SMiguel Ojeda -      -     0.01   0.99    -      -      -      -     mov	rdi, rbx
93*c3739801SMiguel Ojeda -      -      -      -     1.00   1.00    -     2.00   call	qword ptr [rip + __rustc::__rust_alloc_zeroed@GOTPCREL]
94*c3739801SMiguel Ojeda -      -     0.01    -      -     0.99    -      -     mov	rsi, r15
95*c3739801SMiguel Ojeda -      -     0.99   0.01    -      -      -      -     mov	rcx, rax
96*c3739801SMiguel Ojeda -      -      -     0.99    -     0.01    -      -     mov	rax, r14
97*c3739801SMiguel Ojeda -      -     0.99   0.01    -      -      -      -     test	rcx, rcx
98*c3739801SMiguel Ojeda -      -      -      -      -      -      -     1.00   pop	rbx
99*c3739801SMiguel Ojeda -      -      -      -      -      -     1.00    -     pop	r14
100*c3739801SMiguel Ojeda -      -      -      -      -      -      -     1.00   pop	r15
101*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     je	.LBB5_5
102*c3739801SMiguel Ojeda -      -      -      -     1.00    -     1.00    -     mov	qword ptr [rax], rsi
103*c3739801SMiguel Ojeda -      -      -      -     1.00    -      -     1.00   mov	qword ptr [rax + 8], rcx
104*c3739801SMiguel Ojeda -      -      -      -     1.00    -     1.00    -     mov	qword ptr [rax + 16], rsi
105*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     ret
106*c3739801SMiguel Ojeda -      -     0.01   0.99    -      -      -      -     movabs	rcx, -9223372036854775808
107*c3739801SMiguel Ojeda -      -      -      -     1.00    -      -     1.00   mov	qword ptr [rax], rcx
108*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     ret
109*c3739801SMiguel Ojeda -      -     0.99   0.01    -      -      -      -     mov	ecx, 2
110*c3739801SMiguel Ojeda -      -      -      -     1.00    -     1.00    -     mov	qword ptr [rax], rsi
111*c3739801SMiguel Ojeda -      -      -      -     1.00    -      -     1.00   mov	qword ptr [rax + 8], rcx
112*c3739801SMiguel Ojeda -      -      -      -     1.00    -     1.00    -     mov	qword ptr [rax + 16], rsi
113*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     ret
114