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: Sole canonical implementation for its 64-vector functional equivalence class. Sub-10-cycle hardware kernel (2197621/400000 cyc/op); safe for ultra-hot per-sample or per-packet inner loops.
Snap-Circuit Wiring Role: Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
.text: 46 B (11 x86_64 insns)313 B)pub fn aurora_pq_quantal_token_id(base_vocab: u64, semantic_code: u64, rvq_stage0: u64) -> u64 {
let base = if base_vocab == 0 { 151936 } else { base_vocab };
let p_sem = semantic_code & 8191;
let q_res = rvq_stage0 & 1023;
let token_id = base.saturating_add(p_sem);
(token_id << 10) | q_res
}
rustc -C opt-level=3 x86_64 Disassembly (46 B .text / 11 insns)aurora_pq_quantal_token_id:
test rdi, rdi
mov ecx, 151936
cmovne rcx, rdi
and esi, 8191
and edx, 1023
add rcx, rsi
mov rax, -1
cmovae rax, rcx
shl rax, 10
or rax, rdx
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #42 | aurora_pq_quantal_token_id (THIS CAPSULE) domain: signal | id: cb8111b61bd54b1f8831ac38106dd67b | 2197621/400000 cyc/op | 710377/400000 ns/op | 400000000/710377 ops/us | 46 B .text (11 insns) | + (1) | aye-aurora-8b-voice @ 432Hz |