rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)22/9 Hz): 248888 B / 5979063 B (ratio 248888/5979063, saved 5730175/5979063, 11711 ″ dittos)| Rank & Crown | Function Name & Domain | Best Use & Snap-Circuit Role | Pin Signature & 64-Vec Hash | Hardware _rdtsc (p/q) | Details & Quick Peek |
|---|---|---|---|---|---|
| #1503 PEER of 300 | steward_sciforge_ternary_gate_pack domain: Sciforge | id: 6c6a3bc3d4edAye: 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: 51/8192 (408 B src) | 4558767/400000 cyc/op 1473599/400000 ns/op | 400000000/1473599 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (408 B)#[inline(always)]
pub fn steward_sciforge_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
} |
| #1504 PEER of 300 | steward_cinematic_reconstruction_ternary_gate_pack domain: cinematic-reconstruction | id: bce407f87c87Aye: 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: 53/8192 (424 B src) | 4485823/400000 cyc/op 724947/200000 ns/op | 200000000/724947 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (424 B)#[inline(always)]
pub fn steward_cinematic_reconstruction_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
} |
| #1505 PEER of 300 | steward_wigle_triad_ternary_gate_pack domain: wigle-triad | id: 202086b9c804Aye: 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: 411/65536 (411 B src) | 18723/1600 cyc/op 94577/25000 ns/op | 25000000/94577 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (411 B)#[inline(always)]
pub fn steward_wigle_triad_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
} |
| #1511 PEER of 300 | steward_qbit_protein_studio_ternary_gate_pack domain: qbit-protein-studio | id: 76870eea2bb0Aye: 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: 419/65536 (419 B src) | 4570733/400000 cyc/op 295501/80000 ns/op | 80000000/295501 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (419 B)#[inline(always)]
pub fn steward_qbit_protein_studio_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
} |
| #1512 PEER of 300 | steward_ayeb_ternary_gate_pack domain: AyeB | id: ea86c171b41cAye: 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: 101/16384 (404 B src) | 4390219/400000 cyc/op 283821/80000 ns/op | 80000000/283821 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (404 B)#[inline(always)]
pub fn steward_ayeb_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
} |
| #1513 PEER of 300 | steward_marketing_ternary_gate_pack domain: marketing | id: 87f49f9f0a5dAye: 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: 409/65536 (409 B src) | 1122781/100000 cyc/op 725813/200000 ns/op | 200000000/725813 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (409 B)#[inline(always)]
pub fn steward_marketing_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
} |
| #1517 PEER of 300 | steward_rate_mirrors_ternary_gate_pack domain: rate-mirrors | id: 73cd260a4888Aye: 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: 103/16384 (412 B src) | 2176989/200000 cyc/op 1407283/400000 ns/op | 400000000/1407283 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (412 B)#[inline(always)]
pub fn steward_rate_mirrors_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
} |
| #1519 PEER of 300 | steward_canon_cr3_ternary_gate_pack domain: canon_cr3 | id: 605579f4a0aaAye: 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: 409/65536 (409 B src) | 1146473/100000 cyc/op 296471/80000 ns/op | 80000000/296471 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (409 B)#[inline(always)]
pub fn steward_canon_cr3_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
} |
| #1520 PEER of 300 | steward_tdeck_omni_ternary_gate_pack domain: tdeck-omni | id: 4d9f7ec381faAye: 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: 205/32768 (410 B src) | 4683511/400000 cyc/op 757017/200000 ns/op | 200000000/757017 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (410 B)#[inline(always)]
pub fn steward_tdeck_omni_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
} |
| #1522 PEER of 300 | steward_zen_ternary_gate_pack domain: Zen | id: 1fdf2dea4506Aye: 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: 403/65536 (403 B src) | 459141/40000 cyc/op 1484237/400000 ns/op | 400000000/1484237 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (403 B)#[inline(always)]
pub fn steward_zen_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
} |
| #1526 PEER of 300 | steward_pocoo_vaked_dev_ternary_gate_pack domain: pocoo.vaked.dev | id: 384e4a4a3825Aye: 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: 415/65536 (415 B src) | 289323/25000 cyc/op 18703/5000 ns/op | 5000000/18703 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (415 B)#[inline(always)]
pub fn steward_pocoo_vaked_dev_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
} |
| #1527 PEER of 300 | steward_8b_is_music_ternary_gate_pack domain: 8b-is-music | id: ee2b15ee40c7Aye: 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: 411/65536 (411 B src) | 1174807/100000 cyc/op 379761/100000 ns/op | 100000000/379761 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (411 B)#[inline(always)]
pub fn steward_8b_is_music_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
} |
| #1528 PEER of 300 | steward_tvm_ternary_gate_pack domain: tvm | id: 080b020fddc2Aye: 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: 403/65536 (403 B src) | 4405007/400000 cyc/op 711927/200000 ns/op | 200000000/711927 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (403 B)#[inline(always)]
pub fn steward_tvm_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
} |
| #1529 PEER of 300 | steward_hf_mac_ternary_gate_pack domain: hf-mac | id: f6e720a2277cAye: 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: 203/32768 (406 B src) | 449407/40000 cyc/op 1452669/400000 ns/op | 400000000/1452669 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (406 B)#[inline(always)]
pub fn steward_hf_mac_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
} |
| #1532 PEER of 300 | steward_databomb_0_ternary_gate_pack domain: databomb-0 | id: 4d399fe40e52Aye: 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: 205/32768 (410 B src) | 4715503/400000 cyc/op 762177/200000 ns/op | 200000000/762177 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (410 B)#[inline(always)]
pub fn steward_databomb_0_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
} |
| #1538 PEER of 300 | steward_wukong_zeno_ternary_gate_pack domain: wukong-zeno | id: 26c42fadea6eAye: 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: 411/65536 (411 B src) | 4714323/400000 cyc/op 762577/200000 ns/op | 200000000/762577 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (411 B)#[inline(always)]
pub fn steward_wukong_zeno_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
} |
| #1539 PEER of 300 | steward_peter_omni_chan_qptodos_ternary_gate_pack domain: peter-omni-chan-qPtodos | id: 62d185f4d6f8Aye: 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: 423/65536 (423 B src) | 4725671/400000 cyc/op 382073/100000 ns/op | 100000000/382073 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (423 B)#[inline(always)]
pub fn steward_peter_omni_chan_qptodos_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
} |
| #1541 PEER of 300 | steward_prakash_ternary_gate_pack domain: prakash | id: 2b3010bf6bd4Aye: 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: 407/65536 (407 B src) | 4589581/400000 cyc/op 1483647/400000 ns/op | 400000000/1483647 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (407 B)#[inline(always)]
pub fn steward_prakash_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
} |
| #1543 PEER of 300 | steward_memnet_ternary_gate_pack domain: memnet | id: c79c54de9286Aye: 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: 203/32768 (406 B src) | 1172009/100000 cyc/op 378849/100000 ns/op | 100000000/378849 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (406 B)#[inline(always)]
pub fn steward_memnet_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
} |
| #1545 PEER of 300 | steward_cc_cron_ternary_gate_pack domain: cc-cron | id: 8fac74053c2bAye: 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: 407/65536 (407 B src) | 977647/80000 cyc/op 790089/200000 ns/op | 200000000/790089 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (407 B)#[inline(always)]
pub fn steward_cc_cron_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
} |
| #1546 PEER of 300 | steward_ayanese_ternary_gate_pack domain: Ayanese | id: 643ec844ccd1Aye: 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: 407/65536 (407 B src) | 1172017/100000 cyc/op 1515537/400000 ns/op | 400000000/1515537 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (407 B)#[inline(always)]
pub fn steward_ayanese_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
} |
| #1548 PEER of 300 | steward_ayeheadscale_ternary_gate_pack domain: ayeHeadscale | id: 2ecad04bcc42Aye: 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: 103/16384 (412 B src) | 116219/10000 cyc/op 751381/200000 ns/op | 200000000/751381 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (412 B)#[inline(always)]
pub fn steward_ayeheadscale_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
} |
| #1551 PEER of 300 | steward_tanur_ternary_gate_pack domain: tanur | id: c86c95a7dfa5Aye: 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: 405/65536 (405 B src) | 36797/3200 cyc/op 371753/100000 ns/op | 100000000/371753 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (405 B)#[inline(always)]
pub fn steward_tanur_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
} |
| #1553 PEER of 300 | steward_sphered_ternary_gate_pack domain: sphered | id: 9bc4f41ac0adAye: 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: 407/65536 (407 B src) | 4487869/400000 cyc/op 58023/16000 ns/op | 16000000/58023 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (407 B)#[inline(always)]
pub fn steward_sphered_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
} |
| #1554 PEER of 300 | steward_mem_16_10_ternary_gate_pack domain: mem-16-10 | id: c8d5ab19ac71Aye: 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: 409/65536 (409 B src) | 4598447/400000 cyc/op 1486371/400000 ns/op | 400000000/1486371 ops/us 109 B .text (32 insns) | Trit 0 (0) | Inspect Details & ASM →Quick Peek Rust (409 B)#[inline(always)]
pub fn steward_mem_16_10_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
} |