rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)22/9 Hz): 248869 B / 5979051 B (ratio 248869/5979051, saved 5730182/5979051, 11695 ″ dittos)| Rank & Crown | Function Name & Domain | Best Use & Snap-Circuit Role | Pin Signature & 64-Vec Hash | Hardware _rdtsc (p/q) | Details & Quick Peek |
|---|---|---|---|---|---|
| #14 SOLE CROWN #1 <10 CYC | saturate_trit_i64 domain: ternary | id: 9bb078d59c28Aye: aye::Peter+Omni(0+1)::aarch64 @ 432Hz | Balanced Ternary & b158 Quantization Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines. Specialized Multi-Pin Stage `(i64)->i8` — wire matching input pins via `snap_dag` or `snap_pipeline`. | (i64)->i864-vec BLAKE3: 479f392c99dcC64 RAM: 19/4096 (304 B src) | 1323467/400000 cyc/op 206833/200000 ns/op | 200000000/206833 ops/us 12 B .text (5 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (304 B)pub fn saturate_trit_i64(value: i64) -> i8 {
// Project an arbitrary accumulator onto the ternary alphabet {-1, 0, +1}.
// Branch-free: two arithmetic compares compiled to cmp/setcc pairs.
if value > 1 {
1
} else if value < -1 {
-1
} else {
value as i8
}
} |
| #65 SOLE CROWN #1 <10 CYC | rssi_to_trit domain: databomb-0-x86_64 | id: 0b8a4101d216Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz | Balanced Ternary & b158 Quantization Packing and unpacking balanced ternary (-1, 0, +1) activation lanes into dense 64-bit registers for C64-constrained inference pipelines. Specialized Multi-Pin Stage `(i64)->i8` — wire matching input pins via `snap_dag` or `snap_pipeline`. | (i64)->i864-vec BLAKE3: 4b435eaea35bC64 RAM: 151/65536 (151 B src) | 100223/25000 cyc/op 763781/400000 ns/op | 400000000/763781 ops/us 21 B .text (7 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (151 B)pub fn rssi_to_trit(rssi_dbm: i64) -> i8 {
if rssi_dbm >= -68 {
1
} else if rssi_dbm >= -80 {
0
} else {
-1
}
} |