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