rust/zerocopy/benches/try_read_from_bytes.x86-64.mca
Source file repositories/reference/linux-study-clean/rust/zerocopy/benches/try_read_from_bytes.x86-64.mca
File Facts
- System
- Linux kernel
- Corpus path
rust/zerocopy/benches/try_read_from_bytes.x86-64.mca- Extension
.mca- Size
- 3257 bytes
- Lines
- 80
- 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.
- Rust-side wrappers and abstractions around kernel C APIs, ownership contracts, allocation, synchronization, and module integration.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
Iterations: 100
Instructions: 2000
Total Cycles: 608
Total uOps: 2000
Dispatch Width: 4
uOps Per Cycle: 3.29
IPC: 3.29
Block RThroughput: 5.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 ax, -16191
1 1 0.33 cmp rsi, 6
1 1 1.00 jne .LBB5_1
1 5 0.50 * mov ecx, dword ptr [rdi]
1 1 0.33 movzx edx, cx
1 1 0.33 cmp edx, 49344
1 1 1.00 jne .LBB5_4
1 5 0.50 * movzx eax, word ptr [rdi + 4]
1 1 0.50 shl rax, 32
1 1 0.33 or rcx, rax
1 1 0.50 shr rcx, 16
1 1 0.33 mov ax, -16192
1 1 0.50 shl rcx, 16
1 1 0.33 movzx eax, ax
1 1 0.33 or rax, rcx
1 1 1.00 U ret
1 1 0.50 shl rcx, 16
1 1 0.33 movzx eax, ax
1 1 0.33 or rax, 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]
- - 5.99 5.99 - 6.02 1.00 1.00
Resource pressure by instruction:
[0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
- - - 0.99 - 0.01 - - mov ax, -16191
- - - 0.01 - 0.99 - - cmp rsi, 6
- - - - - 1.00 - - jne .LBB5_1
- - - - - - - 1.00 mov ecx, dword ptr [rdi]
- - 0.98 - - 0.02 - - movzx edx, cx
- - 0.99 0.01 - - - - cmp edx, 49344
- - - - - 1.00 - - jne .LBB5_4
- - - - - - 1.00 - movzx eax, word ptr [rdi + 4]
- - 0.01 - - 0.99 - - shl rax, 32
- - 0.02 0.98 - - - - or rcx, rax
- - 1.00 - - - - - shr rcx, 16
Annotation
- Atlas domain: Rust Kernel Layer / Rust API Membrane.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.