rust/zerocopy/benches/try_ref_from_suffix_with_elems_dynamic_padding.x86-64.mca

Source file repositories/reference/linux-study-clean/rust/zerocopy/benches/try_ref_from_suffix_with_elems_dynamic_padding.x86-64.mca

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/try_ref_from_suffix_with_elems_dynamic_padding.x86-64.mca
Extension
.mca
Size
4283 bytes
Lines
96
Domain
Rust Kernel Layer
Bucket
Rust API Membrane
Inferred role
Rust Kernel Layer: Rust API Membrane
Status
atlas-only

Why This File Exists

Rust-side wrappers and abstractions around kernel C APIs, ownership contracts, allocation, synchronization, and module integration.

Dependency Surface

Detected Declarations

Annotated Snippet

Iterations:        100
Instructions:      2800
Total Cycles:      878
Total uOps:        3000

Dispatch Width:    4
uOps Per Cycle:    3.42
IPC:               3.19
Block RThroughput: 7.5


Instruction Info:
[1]: #uOps
[2]: Latency
[3]: RThroughput
[4]: MayLoad
[5]: MayStore
[6]: HasSideEffects (U)

[1]    [2]    [3]    [4]    [5]    [6]    Instructions:
 1      1     0.33                        movabs	rax, 3074457345618258598
 1      1     0.33                        cmp	rdx, rax
 1      1     1.00                        ja	.LBB5_1
 1      1     0.50                        lea	r8d, [rsi + rdi]
 1      0     0.25                        xor	ecx, ecx
 1      1     0.33                        mov	eax, 0
 1      1     0.33                        test	r8b, 3
 1      1     1.00                        je	.LBB5_3
 1      1     0.33                        mov	rdx, rcx
 1      1     1.00                  U     ret
 1      1     0.50                        lea	rax, [rdx + 2*rdx]
 1      1     0.33                        or	rax, 3
 1      1     0.33                        add	rax, 9
 1      1     0.33                        sub	rsi, rax
 1      1     1.00                        jae	.LBB5_4
 1      0     0.25                        xor	eax, eax
 1      1     0.33                        mov	edx, 1
 1      1     1.00                  U     ret
 1      1     0.50                        lea	r8, [rdi + rsi]
 1      5     0.50    *                   movzx	esi, word ptr [rdi + rsi]
 1      1     0.33                        cmp	si, -16192
 1      1     0.33                        mov	ecx, 2
 2      2     0.67                        cmove	rcx, rdx
 1      0     0.25                        xor	eax, eax
 1      1     0.33                        cmp	esi, 49344
 2      2     0.67                        cmove	rax, r8
 1      1     0.33                        mov	rdx, rcx
 1      1     1.00                  U     ret


Resources:
[0]   - SBDivider
[1]   - SBFPDivider
[2]   - SBPort0
[3]   - SBPort1
[4]   - SBPort4
[5]   - SBPort5
[6.0] - SBPort23
[6.1] - SBPort23


Resource pressure per iteration:
[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  
 -      -     8.65   8.65    -     8.70   0.50   0.50   

Resource pressure by instruction:
[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
 -      -     0.67   0.30    -     0.03    -      -     movabs	rax, 3074457345618258598
 -      -     0.01   0.99    -      -      -      -     cmp	rdx, rax
 -      -      -      -      -     1.00    -      -     ja	.LBB5_1

Annotation

Implementation Notes