Debian Codegraph @

debian/rust-vendor/zerocopy/benches/new_vec_zeroed.x86-64.mca

raw
1 Iterations: 100
2 Instructions: 3700
3 Total Cycles: 3486
4 Total uOps: 4600
5
6 Dispatch Width: 4
7 uOps Per Cycle: 1.32
8 IPC: 1.06
9 Block RThroughput: 12.0
10
11
12 Instruction 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 0.33 movabs rcx, -9223372036854775808
51 1 1 1.00 * mov qword ptr [rax], rcx
52 1 1 1.00 U ret
53 1 1 0.33 mov ecx, 2
54 1 1 1.00 * mov qword ptr [rax], rsi
55 1 1 1.00 * mov qword ptr [rax + 8], rcx
56 1 1 1.00 * mov qword ptr [rax + 16], rsi
57 1 1 1.00 U ret
58
59
60 Resources:
61 [0] - SBDivider
62 [1] - SBFPDivider
63 [2] - SBPort0
64 [3] - SBPort1
65 [4] - SBPort4
66 [5] - SBPort5
67 [6.0] - SBPort23
68 [6.1] - SBPort23
69
70
71 Resource pressure per iteration:
72 [0] [1] [2] [3] [4] [5] [6.0] [6.1]
73 - - 6.99 6.99 12.00 10.02 8.00 9.00
74
75 Resource pressure by instruction:
76 [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
77 - - 0.01 0.98 - 0.01 - - mov rax, rdi
78 - - 0.98 0.02 - - - - movabs rcx, 1537228672809129301
79 - - 0.02 0.98 - - - - cmp rsi, rcx
80 - - - - - 1.00 - - ja .LBB5_5
81 - - 0.98 - - 0.02 - - test rsi, rsi
82 - - - - - 1.00 - - je .LBB5_2
83 - - - - 1.00 - - 1.00 push r15
84 - - - - 1.00 - 1.00 - push r14
85 - - - - 1.00 - - 1.00 push rbx
86 - - - 1.00 - - - - lea rcx, [rsi + rsi]
87 - - - 1.00 - - - - lea rbx, [rcx + 2*rcx]
88 - - 1.00 - - - - - mov r14, rax
89 - - 1.00 - - - - - mov r15, rsi
90 - - - - 1.00 1.00 2.00 - call qword ptr [rip + __rustc::__rust_no_alloc_shim_is_unstable_v2@GOTPCREL]
91 - - - 0.01 - 0.99 - - mov esi, 2
92 - - 0.01 0.99 - - - - mov rdi, rbx
93 - - - - 1.00 1.00 - 2.00 call qword ptr [rip + __rustc::__rust_alloc_zeroed@GOTPCREL]
94 - - 0.01 - - 0.99 - - mov rsi, r15
95 - - 0.99 0.01 - - - - mov rcx, rax
96 - - - 0.99 - 0.01 - - mov rax, r14
97 - - 0.99 0.01 - - - - test rcx, rcx
98 - - - - - - - 1.00 pop rbx
99 - - - - - - 1.00 - pop r14
100 - - - - - - - 1.00 pop r15
101 - - - - - 1.00 - - je .LBB5_5
102 - - - - 1.00 - 1.00 - mov qword ptr [rax], rsi
103 - - - - 1.00 - - 1.00 mov qword ptr [rax + 8], rcx
104 - - - - 1.00 - 1.00 - mov qword ptr [rax + 16], rsi
105 - - - - - 1.00 - - ret
106 - - 0.01 0.99 - - - - movabs rcx, -9223372036854775808
107 - - - - 1.00 - - 1.00 mov qword ptr [rax], rcx
108 - - - - - 1.00 - - ret
109 - - 0.99 0.01 - - - - mov ecx, 2
110 - - - - 1.00 - 1.00 - mov qword ptr [rax], rsi
111 - - - - 1.00 - - 1.00 mov qword ptr [rax + 8], rcx
112 - - - - 1.00 - 1.00 - mov qword ptr [rax + 16], rsi
113 - - - - - 1.00 - - ret