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

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/ref_from_bytes_static_size.x86-64.mca
Extension
.mca
Size
1601 bytes
Lines
54
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:      700
Total Cycles:      240
Total uOps:        800

Dispatch Width:    4
uOps Per Cycle:    3.33
IPC:               2.92
Block RThroughput: 2.0


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	ecx, edi
 1      1     0.33                        and	ecx, 1
 1      1     0.33                        xor	rsi, 6
 1      0     0.25                        xor	eax, eax
 1      1     0.33                        or	rsi, rcx
 2      2     0.67                        cmove	rax, rdi
 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]  
 -      -     2.33   2.33    -     2.34    -      -     

Resource pressure by instruction:
[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
 -      -     0.01   0.98    -     0.01    -      -     mov	ecx, edi
 -      -     0.02   0.66    -     0.32    -      -     and	ecx, 1
 -      -     0.33   0.66    -     0.01    -      -     xor	rsi, 6
 -      -      -      -      -      -      -      -     xor	eax, eax
 -      -     0.98   0.02    -      -      -      -     or	rsi, rcx
 -      -     0.99   0.01    -     1.00    -      -     cmove	rax, rdi
 -      -      -      -      -     1.00    -      -     ret

Annotation

Implementation Notes