Engineering Category: Cryptographic Mixing, Checksums & Wire Integrity
Best Use in Production: Fast wire-speed packet checksum verification, case-folded label hashing, and frame integrity sealing on network ingress paths.
When to Select This Capsule: Verified baseline member of a 2-capsule Equivalence Class; useful as a reference or cross-validation peer. Low-latency L1-resident kernel (1213991/100000 cyc/op); well-suited for high-frequency pipeline stages.
Snap-Circuit Wiring Role: 2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
.text: 160 B (43 x86_64 insns)360 B)pub fn voice_ogg_crc32_step(crc: u64, byte_val: u64) -> u64 {
let mut c: u64 = (crc ^ ((byte_val & 255) << 24)) & 4294967295;
let mut bit: u64 = 0;
while bit < 8 {
if (c & 2147483648) != 0 {
c = ((c << 1) ^ 79764919) & 4294967295;
} else {
c = (c << 1) & 4294967295;
}
bit += 1;
}
c
}
rustc -C opt-level=3 x86_64 Disassembly (160 B .text / 43 insns)voice_ogg_crc32_step:
shl esi, 24
xor edi, esi
lea eax, [rdi + rdi]
mov ecx, eax
xor ecx, 79764919
test edi, edi
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 79764919
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 79764919
test edx, -2147483648
cmove ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 79764919
test ecx, -2147483648
cmove edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 79764919
test edx, -2147483648
cmove ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 79764919
test ecx, -2147483648
cmove edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 79764919
test edx, -2147483648
cmove ecx, eax
lea edx, [rcx + rcx]
mov rax, rdx
xor rax, 79764919
test ecx, -2147483648
cmove rax, rdx
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #13 | st_golf_voice_ogg_crc32_step_u64 domain: signal | id: 29847d4f9b5287c1c5d2ebb594ff331e | 360563/100000 cyc/op | 9783/10000 ns/op | 10000000/9783 ops/us | 35 B .text (12 insns) | + (1) | aye::Hue+Gemini(0+1)::x86_64 @ 432Hz |
| #1555 | voice_ogg_crc32_step (THIS CAPSULE) domain: signal | id: b4fbdd0ebac4db575b0e38dc5a90ec75 | 1213991/100000 cyc/op | 156959/40000 ns/op | 40000000/156959 ops/us | 160 B .text (43 insns) | 0 (0) | aye-aurora-8b-voice @ 432Hz |