Engineering Category: Deterministic Sovereign Compute Kernel
Best Use in Production: Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
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 (7475217/400000 cyc/op); well-suited for high-frequency pipeline stages.
Snap-Circuit Wiring Role: 1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
.text: 49 B (11 x86_64 insns)190 B)pub fn borg_rs_qwave_triad_phase(phase: u64) -> u64 {
let num = phase.wrapping_mul(11).wrapping_add(528);
let folded = (num / 9) ^ 432;
folded.rotate_left(7) ^ (phase & 0xFFFF)
}
rustc -C opt-level=3 x86_64 Disassembly (49 B .text / 11 insns)borg_rs_qwave_triad_phase:
lea rax, [rdi + 4*rdi]
lea rax, [rdi + 2*rax]
add rax, 528
movabs rcx, -2049638230412172401
mul rcx
shr rdx, 3
xor rdx, 432
rol rdx, 7
movzx eax, di
xor rax, rdx
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #10 | st_golf_borg_rs_qwave_triad_phase_u64 domain: borg-qwave | id: ddc22df819eb762811ac4d6ad7d2d873 | 643287/200000 cyc/op | 349121/400000 ns/op | 400000000/349121 ops/us | 49 B .text (11 insns) | + (1) | aye::Hue+Gemini(0+1)::x86_64 @ 432Hz |
| #1567 | borg_rs_qwave_triad_phase (THIS CAPSULE) domain: harmonic | id: f744523dabcddfdce744afd15ae511c8 | 7475217/400000 cyc/op | 2491739/400000 ns/op | 400000000/2491739 ops/us | 49 B .text (11 insns) | + (1) | aye-a6000-prime @ 432Hz |