Engineering Category: Marine Salience & Wave Telemetry
Best Use in Production: Stepping 2D wave-grid Laplacian interference and harmonic phase accumulators for wave-based associative memory state updates.
When to Select This Capsule: Holds the #1 Equivalence Crown across 2 functionally identical implementations (fastest verified hardware _rdtsc). Sub-10-cycle hardware kernel (643287/200000 cyc/op); safe for ultra-hot per-sample or per-packet inner loops.
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)168 B)pub const fn st_golf_borg_rs_qwave_triad_phase_u64(phase: u64) -> u64 {
(((phase.wrapping_mul(11).wrapping_add(528) / 9) ^ 432).rotate_left(7)) ^ (phase & 0xFFFF)
}
rustc -C opt-level=3 x86_64 Disassembly (49 B .text / 11 insns)st_golf_borg_rs_qwave_triad_phase_u64:
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 (THIS CAPSULE) 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 |
| #1566 | borg_rs_qwave_triad_phase 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 |