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

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/ref_from_suffix_dynamic_size.x86-64.mca
Extension
.mca
Size
2233 bytes
Lines
64
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:      1200
Total Cycles:      439
Total uOps:        1400

Dispatch Width:    4
uOps Per Cycle:    3.19
IPC:               2.73
Block RThroughput: 3.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                        mov	rdx, rsi
 1      1     0.50                        lea	ecx, [rsi + rdi]
 1      1     0.33                        mov	eax, edx
 1      1     0.33                        and	eax, 1
 1      1     0.33                        add	rax, rdi
 1      0     0.25                        xor	esi, esi
 1      1     0.33                        sub	rdx, 4
 2      2     0.67                        cmovb	rax, rsi
 1      1     0.50                        shr	rdx
 1      1     0.33                        test	cl, 1
 2      2     0.67                        cmovne	rax, rsi
 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]  
 -      -     4.33   4.33    -     4.34    -      -     

Resource pressure by instruction:
[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
 -      -     0.02   0.32    -     0.66    -      -     mov	rdx, rsi
 -      -     0.32   0.68    -      -      -      -     lea	ecx, [rsi + rdi]
 -      -     0.66    -      -     0.34    -      -     mov	eax, edx
 -      -     0.02   0.33    -     0.65    -      -     and	eax, 1
 -      -      -     0.99    -     0.01    -      -     add	rax, rdi
 -      -      -      -      -      -      -      -     xor	esi, esi
 -      -     0.65    -      -     0.35    -      -     sub	rdx, 4
 -      -     1.00   1.00    -      -      -      -     cmovb	rax, rsi
 -      -     0.66    -      -     0.34    -      -     shr	rdx
 -      -      -     0.01    -     0.99    -      -     test	cl, 1
 -      -     1.00   1.00    -      -      -      -     cmovne	rax, rsi
 -      -      -      -      -     1.00    -      -     ret

Annotation

Implementation Notes