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 (65193/8000 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: 77 B (22 x86_64 insns)387 B)pub fn aurora_semantic_vad_horizon_gate(speech_energy: u64, pause_ms: u64, bot_speaking: u64) -> u64 {
if speech_energy >= 320 && bot_speaking != 0 {
return 5;
}
if speech_energy >= 180 {
return 1;
}
if pause_ms == 0 {
return 0;
}
if pause_ms < 1000 {
2
} else if pause_ms <= 3000 {
4
} else {
0
}
}
rustc -C opt-level=3 x86_64 Disassembly (77 B .text / 22 insns)aurora_semantic_vad_horizon_gate:
cmp rdi, 320
setae cl
test rdx, rdx
setne dl
mov eax, 5
test cl, dl
jne .LBB7_6
mov eax, 1
cmp rdi, 179
ja .LBB7_6
test rsi, rsi
je .LBB7_3
mov eax, 2
cmp rsi, 999
jbe .LBB7_6
xor eax, eax
cmp rsi, 3001
setb al
shl eax, 2
.LBB7_6:
ret
.LBB7_3:
xor eax, eax
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #245 | aurora_semantic_vad_horizon_gate (THIS CAPSULE) domain: signal | id: c5636c2ba978457fb480a32098b39068 | 65193/8000 cyc/op | 210777/80000 ns/op | 80000000/210777 ops/us | 77 B .text (22 insns) | + (1) | aye-aurora-8b-voice @ 432Hz |