rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)22/9 Hz): 249004 B / 5979082 B (ratio 124502/2989541, saved 2865039/2989541, 11682 ″ dittos)| Rank & Crown | Function Name & Domain | Best Use & Snap-Circuit Role | Pin Signature & 64-Vec Hash | Hardware _rdtsc (p/q) | Details & Quick Peek |
|---|---|---|---|---|---|
| #488 PEER of 303 <10 CYC | steward_mlx_quant_viz_geodesic_seat_ema domain: mlx-quant-viz | id: 7dc8fa0ccfa3Aye: alexiai-tokyo-steward @ 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. 2-to-1 Binary Combiner / Join Stage `(i64,i64)->i64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion. | (i64,i64)->i6464-vec BLAKE3: f79426b0bb51C64 RAM: 111/32768 (222 B src) | 155217/25000 cyc/op 401417/200000 ns/op | 200000000/401417 ops/us 67 B .text (17 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (222 B)#[inline(always)]
pub fn steward_mlx_quant_viz_geodesic_seat_ema(prev_cm: i64, obs_cm: i64) -> i64 {
let ema_cm = (prev_cm.wrapping_mul(3).wrapping_add(obs_cm)) / 4;
(ema_cm.wrapping_mul(10_000_000)) / 11_113_300
} |
| #615 PEER of 306 <10 CYC | steward_mlx_quant_viz_wupz_witness_step domain: mlx-quant-viz | id: 66056b676304Aye: alexiai-tokyo-steward @ 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. 2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion. | (u64,u64)->u6464-vec BLAKE3: 68d052c83838C64 RAM: 133/32768 (266 B src) | 394723/50000 cyc/op 255329/100000 ns/op | 100000000/255329 ops/us 45 B .text (10 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (266 B)#[inline(always)]
pub fn steward_mlx_quant_viz_wupz_witness_step(acc: u64, word: u64) -> u64 {
let mixed = acc ^ word.wrapping_mul(0x9E37_79B9_7F4A_7C15);
let rot = mixed.rotate_left(17) ^ mixed.rotate_right(11);
rot.wrapping_add(0x5755_505A_0432_0528)
} |
| #936 PEER of 312 <10 CYC | steward_mlx_quant_viz_kompress_ditto_stride domain: mlx-quant-viz | id: a2844e672083Aye: alexiai-tokyo-steward @ 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. 2-to-1 Binary Combiner / Join Stage `(u64,u64)->u64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion. | (u64,u64)->u6464-vec BLAKE3: 012de5dc0aa5C64 RAM: 127/32768 (254 B src) | 736963/80000 cyc/op 238239/80000 ns/op | 80000000/238239 ops/us 122 B .text (30 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (254 B)#[inline(always)]
pub fn steward_mlx_quant_viz_kompress_ditto_stride(prev_cell: u64, curr_cell: u64) -> u64 {
let delta = prev_cell ^ curr_cell;
let pop = delta.count_ones() as u64;
if pop == 0 { 22 } else { (pop.wrapping_mul(22)) / 9 + 1 }
} |
| #1060 PEER of 302 | steward_mlx_quant_viz_pq_harmonic_fold domain: mlx-quant-viz | id: 6438999ea5ffAye: alexiai-tokyo-steward @ 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. 2-to-1 Binary Combiner / Join Stage `(i64,i64)->i64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion. | (i64,i64)->i6464-vec BLAKE3: f3c9e53b4edeC64 RAM: 129/32768 (258 B src) | 223231/20000 cyc/op 144311/40000 ns/op | 40000000/144311 ops/us 63 B .text (17 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (258 B)#[inline(always)]
pub fn steward_mlx_quant_viz_pq_harmonic_fold(p: i64, q: i64) -> i64 {
let den = if q == 0 { 1 } else { q.abs() };
let num = p.wrapping_mul(432).wrapping_add(den.wrapping_mul(528));
(num ^ (num >> 13)).wrapping_rem(den.max(1))
} |
| #1177 PEER of 300 | steward_mlx_quant_viz_ternary_gate_pack domain: mlx-quant-viz | id: 8f2bc54aa050Aye: alexiai-tokyo-steward @ 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,i64,i64)->i64` — wire matching input pins via `snap_dag` or `snap_pipeline`. | (i64,i64,i64)->i6464-vec BLAKE3: bc0951af632bC64 RAM: 413/65536 (413 B src) | 284363/25000 cyc/op 1470641/400000 ns/op | 400000000/1470641 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (413 B)#[inline(always)]
pub fn steward_mlx_quant_viz_ternary_gate_pack(a: i64, b: i64, threshold: i64) -> i64 {
let th = threshold.abs().max(1);
let t0: i64 = if a > th { 2 } else if a < -th { 0 } else { 1 };
let t1: i64 = if b > th { 2 } else if b < -th { 0 } else { 1 };
let diff = a.wrapping_sub(b);
let t2: i64 = if diff > th { 2 } else if diff < -th { 0 } else { 1 };
t0 * 9 + t1 * 3 + t2
} |
| #1745 PEER of 312 | steward_mlx_quant_viz_isqrt_salience_step domain: mlx-quant-viz | id: 25edc721fffaAye: alexiai-tokyo-steward @ 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. 1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches. | (u64)->u6464-vec BLAKE3: 0aab703b121aC64 RAM: 329/65536 (329 B src) | 31260741/200000 cyc/op 20212601/400000 ns/op | 400000000/20212601 ops/us 126 B .text (34 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (329 B)#[inline(always)]
pub fn steward_mlx_quant_viz_isqrt_salience_step(energy_q15: u64) -> u64 {
let mut x = energy_q15 | 1;
let mut y = (x + 1) >> 1;
let mut iter = 0u32;
while y < x && iter < 12 {
x = y;
y = (x + energy_q15 / x.max(1)) >> 1;
iter += 1;
}
(x.wrapping_mul(432)) >> 4
} |