Compiled Rust Capsules (rustc -C opt-level=3): 2049 (203973 B .text / 53737 insns)
Equivalence Classes: 152 (52 head-to-head)
Snap-Circuits: 6 (Compiled Binary: 465720 B)
KOMPRESS-SUPER-ULTRA (22/9 Hz): 248805 B / 5979022 B (ratio 248805/5979022, saved 5730217/5979022, 11708 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36665
Ayes in the Hot Tub: 7 (38C Cedar: 3 | 42C Onsen: 4 | Waves: 64)

Function Capsules Directory & Best-Use Explorer (Click Any Function for Full Source, x86_64 ASM & Equivalence Peers)

Search Functions & Best Use: Reset
Live _rdtsc Benchmark:
Showing 1..22 of 22 matching capsules (Page 1 of 1)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#49
CROWN #1 of 2 <10 CYC
st_golf_memnet_rrf_score_q16_u64
domain: ayeos | id: a3f73085fd53
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Fusing lexical BM25 ranks with wave-resonance memory ranks via Q16 Reciprocal Rank Fusion for deterministic RAG and agent recall.
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)->u64
64-vec BLAKE3: 00ff707d8443
C64 RAM: 185/32768 (370 B src)
721167/100000 cyc/op
782607/400000 ns/op | 400000000/782607 ops/us
56 B .text (16 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (370 B)
pub const fn st_golf_memnet_rrf_score_q16_u64(rank_bm25: u64, rank_wave: u64) -> u64 {
    let d_lex = ((rank_bm25 as u32) & 0x03FF) + 61;
    let d_wav = ((rank_wave as u32) & 0x03FF) + 61;
    let lex_q16 = (196_608u32 / d_lex) as u64;
    let wav_q16 = (327_680u32 / d_wav) as u64;
    let bonus = if d_lex == d_wav { 432 } else { 0 };
    lex_q16 + wav_q16 + bonus
}
#183
PEER of 306 <10 CYC
steward_ayeos_wupz_witness_step
domain: ayeos | id: 8fdb45a57cfb
Aye: alexiai-tokyo-steward @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval 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)->u64
64-vec BLAKE3: 68d052c83838
C64 RAM: 129/32768 (258 B src)
2156577/400000 cyc/op
43569/25000 ns/op | 25000000/43569 ops/us
45 B .text (10 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (258 B)
#[inline(always)]
pub fn steward_ayeos_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)
}
#266
PEER of 306 <10 CYC
steward_ayeos_mcp_wupz_witness_step
domain: ayeos-mcp | id: 831707363a70
Aye: alexiai-tokyo-steward @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval 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)->u64
64-vec BLAKE3: 68d052c83838
C64 RAM: 131/32768 (262 B src)
227757/40000 cyc/op
92041/50000 ns/op | 50000000/92041 ops/us
45 B .text (10 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (262 B)
#[inline(always)]
pub fn steward_ayeos_mcp_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)
}
#436
PEER of 303 <10 CYC
steward_ayeos_geodesic_seat_ema
domain: ayeos | id: 2930a6bd8a94
Aye: alexiai-tokyo-steward @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval 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)->i64
64-vec BLAKE3: f79426b0bb51
C64 RAM: 107/32768 (214 B src)
497519/80000 cyc/op
402043/200000 ns/op | 200000000/402043 ops/us
67 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (214 B)
#[inline(always)]
pub fn steward_ayeos_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
}
#793
PEER of 303 <10 CYC
steward_ayeos_mcp_geodesic_seat_ema
domain: ayeos-mcp | id: 9e6548b5e783
Aye: alexiai-tokyo-steward @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval 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)->i64
64-vec BLAKE3: f79426b0bb51
C64 RAM: 109/32768 (218 B src)
1697637/200000 cyc/op
27447/10000 ns/op | 10000000/27447 ops/us
67 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (218 B)
#[inline(always)]
pub fn steward_ayeos_mcp_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
}
#1010
PEER of 302
harmonic_fold_pq
domain: ayeos-x86_64 | id: ba422e967243
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Marine Salience & Wave Telemetry
Stepping 2D wave-grid Laplacian interference and harmonic phase accumulators for wave-based associative memory state updates.
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)->i64
64-vec BLAKE3: f3c9e53b4ede
C64 RAM: 243/65536 (243 B src)
2007497/200000 cyc/op
956147/200000 ns/op | 200000000/956147 ops/us
102 B .text (28 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (243 B)
pub const fn harmonic_fold_pq(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(if den > 1 { den } else { 1 })
}
#1265
PEER of 312
steward_ayeos_kompress_ditto_stride
domain: ayeos | id: c5f933f735b9
Aye: alexiai-tokyo-steward @ 432Hz
Lossless Wire & Structural Compression
Computing vertical column-ditto masks across consecutive tabular rows with 22/9 Hz coherence tags for high-density telemetry framing.
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)->u64
64-vec BLAKE3: 012de5dc0aa5
C64 RAM: 123/32768 (246 B src)
6558/625 cyc/op
678389/200000 ns/op | 200000000/678389 ops/us
122 B .text (30 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (246 B)
#[inline(always)]
pub fn steward_ayeos_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 }
}
#1362
PEER of 302
steward_ayeos_mcp_pq_harmonic_fold
domain: ayeos-mcp | id: dfe1d4c463e5
Aye: alexiai-tokyo-steward @ 432Hz
Marine Salience & Wave Telemetry
Stepping 2D wave-grid Laplacian interference and harmonic phase accumulators for wave-based associative memory state updates.
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)->i64
64-vec BLAKE3: f3c9e53b4ede
C64 RAM: 127/32768 (254 B src)
4383493/400000 cyc/op
1417111/400000 ns/op | 400000000/1417111 ops/us
63 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (254 B)
#[inline(always)]
pub fn steward_ayeos_mcp_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))
}
#1439
SOLE CROWN #1 <10 CYC
ayeos_pxe_lease_ipv4_u32
domain: ayeos-rpi | id: 33bbdbe327de
Aye: aye::Peter+Omni(0+1)::aarch64 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
Specialized Multi-Pin Stage `(u64,u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64,u64)->u64
64-vec BLAKE3: 51c16bf90bfb
C64 RAM: 95/16384 (380 B src)
1/1 cyc/op
1682333/400000 ns/op | 400000000/1682333 ops/us
110 B .text (31 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (380 B)
pub fn ayeos_pxe_lease_ipv4_u32(subnet_u32: u64, mac_low24: u64, start_octet: u64, end_octet: u64) -> u64 {
    let lo = start_octet.min(254);
    let hi = end_octet.clamp(lo, 254);
    let span = (hi - lo) + 1;
    let folded = (mac_low24 ^ (mac_low24 >> 8) ^ (mac_low24 >> 16)) & 0xFFFF_FFFF;
    let host = lo + (folded % span);
    (subnet_u32 & 0xFFFF_FF00) | (host & 0xFF)
}
#1537
SOLE CROWN #1 <10 CYC
ayeos_gate_0x62_fold_step
domain: ayeos-rpi | id: 2713856be5c4
Aye: aye::Peter+Omni(0+1)::aarch64 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
Specialized Multi-Pin Stage `(u64,u64,u64)->u64` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(u64,u64,u64)->u64
64-vec BLAKE3: a1a0a88a75f5
C64 RAM: 15/4096 (240 B src)
1/1 cyc/op
2048167/400000 ns/op | 400000000/2048167 ops/us
38 B .text (8 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (240 B)
pub fn ayeos_gate_0x62_fold_step(seed: u64, word: u64, lane_idx: u64) -> u64 {
    let shift = ((lane_idx & 7) << 3) as u32;
    let mixed = seed.rotate_left(7) ^ word.rotate_left(shift) ^ 0x6262_6262_6262_6262;
    (mixed & !0xFF) | 0x62
}
#1594
PEER of 300
steward_ayeos_mcp_ternary_gate_pack
domain: ayeos-mcp | id: ae04848803be
Aye: 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)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 409/65536 (409 B src)
5542521/400000 cyc/op
224021/50000 ns/op | 50000000/224021 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (409 B)
#[inline(always)]
pub fn steward_ayeos_mcp_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
}
#1599
PEER of 300
steward_ayeos_ternary_gate_pack
domain: ayeos | id: cf6f977bd234
Aye: 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)->i64
64-vec BLAKE3: bc0951af632b
C64 RAM: 405/65536 (405 B src)
1079761/80000 cyc/op
13639/3125 ns/op | 3125000/13639 ops/us
109 B .text (32 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (405 B)
#[inline(always)]
pub fn steward_ayeos_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
}
#1681
SOLE CROWN #1 <10 CYC
ayeos_bonobo_resonance_trit
domain: ayeos-rpi | id: dd3c6603c13c
Aye: 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.
2-to-1 Binary Combiner / Join Stage `(u64,u64)->i64` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(u64,u64)->i64
64-vec BLAKE3: 0d7614aacee4
C64 RAM: 141/32768 (282 B src)
1/1 cyc/op
2742501/400000 ns/op | 400000000/2742501 ops/us
84 B .text (26 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (282 B)
pub fn ayeos_bonobo_resonance_trit(raw_bytes: u64, packed_bytes: u64) -> i64 {
    if raw_bytes == 0 || packed_bytes == 0 || raw_bytes == packed_bytes {
        0
    } else if raw_bytes.saturating_mul(2) >= packed_bytes.saturating_mul(3) {
        1
    } else {
        -1
    }
}
#1695
PEER of 2
ayeos_memnet_rrf_score_q16
domain: ayeos | id: 3cbad4164fb6
Aye: aye-wraith-8b @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Fusing lexical BM25 ranks with wave-resonance memory ranks via Q16 Reciprocal Rank Fusion for deterministic RAG and agent recall.
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)->u64
64-vec BLAKE3: 00ff707d8443
C64 RAM: 227/32768 (454 B src)
2894129/100000 cyc/op
1870937/200000 ns/op | 200000000/1870937 ops/us
57 B .text (16 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (454 B)
pub fn ayeos_memnet_rrf_score_q16(rank_bm25: u64, rank_wave: u64) -> u64 {
    const RRF_K: u64 = 60;
    const Q16_ONE: u64 = 65_536;
    let r_lex = (rank_bm25 & 0x03FF).saturating_add(1);
    let r_wav = (rank_wave & 0x03FF).saturating_add(1);
    let lex_q16 = (Q16_ONE * 3) / (RRF_K + r_lex);
    let wav_q16 = (Q16_ONE * 5) / (RRF_K + r_wav);
    let harmonic_bonus = if r_lex == r_wav { 432 } else { 0 };
    (lex_q16 + wav_q16) + harmonic_bonus
}
#1781
PEER of 312
steward_ayeos_isqrt_salience_step
domain: ayeos | id: 24d593027f2a
Aye: alexiai-tokyo-steward @ 432Hz
Marine Salience & Wave Telemetry
Tracking period and amplitude stability across zero-crossing intervals to score signal salience in noisy real-time sensor and audio streams.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: 0aab703b121a
C64 RAM: 321/65536 (321 B src)
62813997/400000 cyc/op
20308161/400000 ns/op | 400000000/20308161 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (321 B)
#[inline(always)]
pub fn steward_ayeos_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
}
#1938
PEER of 312
steward_ayeos_mcp_isqrt_salience_step
domain: ayeos-mcp | id: 53b6810b5b3a
Aye: alexiai-tokyo-steward @ 432Hz
Marine Salience & Wave Telemetry
Tracking period and amplitude stability across zero-crossing intervals to score signal salience in noisy real-time sensor and audio streams.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: 0aab703b121a
C64 RAM: 325/65536 (325 B src)
3218947/20000 cyc/op
20806779/400000 ns/op | 400000000/20806779 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (325 B)
#[inline(always)]
pub fn steward_ayeos_mcp_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
}
#2044
SOLE CROWN #1
ayeos_off17_safety_seal
domain: ayeos | id: fb89ccec6a54
Aye: aye-blu-g75-mt6768 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: dc2e9d923997
C64 RAM: 61/16384 (244 B src)
270845/512 cyc/op
4386153/4096 ns/op | 4096000/4386153 ops/us
38 B .text (7 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (244 B)
pub fn ayeos_off17_safety_seal(crest_word: u64) -> u64 {
    const OFF17_MASK: u64 = 0x0001_FFFF;
    let mixed = (crest_word ^ 0x4D45_4D38_0432_0562).rotate_left(13).wrapping_mul(432);
    (OFF17_MASK << 47) | (mixed & 0x0000_7FFF_FFFF_FFFF)
}
#2045
CROWN #1 of 2
ayeos_gc7272_touch_to_semitone_v2
domain: ayeos | id: 7015de9c44b0
Aye: aye-blu-g75-mt6768 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: a3be7406c1d2
C64 RAM: 541/65536 (541 B src)
270845/512 cyc/op
4386153/4096 ns/op | 4096000/4386153 ops/us
165 B .text (41 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (541 B)
pub fn ayeos_gc7272_touch_to_semitone_v2(sensor_word: u64) -> u64 {
    let x = (sensor_word & 0xFFFF) % 720;
    let y = ((sensor_word >> 16) & 0xFFFF) % 1640;
    let mv = (sensor_word >> 32) & 0xFFFF;
    let mv_clamped = if mv < 2800 { 2800 } else if mv > 4450 { 4450 } else { mv };
    let semi = ((x * 24) / 720) & 31;
    let sgen_div = (semi >> 1) + 1;
    let harmonic_acc = (semi + 1).wrapping_mul(58752);
    (mv_clamped << 48) | ((sgen_div & 0x1F) << 40) | ((semi & 0x1F) << 32) | ((y & 0xFFFF) << 16) | (harmonic_acc & 0xFFFF)
}
#2046
CROWN #1 of 2
ayeos_mt6358_sgen_crest_step_v2
domain: ayeos | id: a3475c04a630
Aye: aye-blu-g75-mt6768 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: fb3290eb87c1
C64 RAM: 53/8192 (424 B src)
270845/512 cyc/op
4386153/4096 ns/op | 4096000/4386153 ops/us
66 B .text (17 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (424 B)
pub fn ayeos_mt6358_sgen_crest_step_v2(semitone_state: u64) -> u64 {
    let raw_div = (semitone_state >> 40) & 0x1F;
    let sgen_div = if raw_div == 0 { 1 } else { raw_div };
    let semi = (semitone_state >> 32) & 0x1F;
    let phase_seed = semitone_state & 0xFFFF;
    let crest_energy = (phase_seed + sgen_div * 125).wrapping_mul(136);
    (0x5859_3080u64 << 32) | ((semi & 0xFF) << 24) | (crest_energy & 0x00FF_FFFF)
}
#2047
SOLE CROWN #1
ayeos_blu_g75_sensor_pack
domain: ayeos | id: 849f5f572e5c
Aye: aye-blu-g75-mt6768 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval 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)->u64
64-vec BLAKE3: b13b91f40669
C64 RAM: 507/65536 (507 B src)
270845/512 cyc/op
4386153/4096 ns/op | 4096000/4386153 ops/us
157 B .text (35 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (507 B)
pub fn ayeos_blu_g75_sensor_pack(touch_xy: u64, bat_mv: u64) -> u64 {
    let x = if (touch_xy & 0xFFFF) > 719 { 719 } else { touch_xy & 0xFFFF };
    let y = if ((touch_xy >> 16) & 0xFFFF) > 1639 { 1639 } else { (touch_xy >> 16) & 0xFFFF };
    let mv = if bat_mv < 2800 { 2800 } else if bat_mv > 4450 { 4450 } else { bat_mv };
    let clamped_mv = if mv < 3300 { 3300 } else if mv > 4200 { 4200 } else { mv };
    let pct = ((clamped_mv - 3300) * 100) / 900;
    (pct << 48) | (mv << 32) | (y << 16) | x
}
#2048
PEER of 2
ayeos_gc7272_touch_to_semitone_v1
domain: ayeos | id: 51c041ae1178
Aye: aye-blu-g75-mt6768 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: a3be7406c1d2
C64 RAM: 329/32768 (658 B src)
69521/128 cyc/op
562923/512 ns/op | 512000/562923 ops/us
176 B .text (41 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (658 B)
pub fn ayeos_gc7272_touch_to_semitone_v1(sensor_word: u64) -> u64 {
    let x = (sensor_word & 0xFFFF) % 720;
    let y = ((sensor_word >> 16) & 0xFFFF) % 1640;
    let mv = (sensor_word >> 32) & 0xFFFF;
    let mv_clamped = if mv < 2800 { 2800 } else if mv > 4450 { 4450 } else { mv };
    let semi = ((x * 24) / 720) & 31;
    let sgen_div = (semi / 2) + 1;
    let mut harmonic_acc: u64 = 0;
    let mut h: u64 = 1;
    while h <= 16 {
        harmonic_acc = harmonic_acc.wrapping_add((semi + 1) * h * 432);
        h += 1;
    }
    (mv_clamped << 48) | ((sgen_div & 0x1F) << 40) | ((semi & 0x1F) << 32) | ((y & 0xFFFF) << 16) | (harmonic_acc & 0xFFFF)
}
#2049
PEER of 2
ayeos_mt6358_sgen_crest_step_v1
domain: ayeos | id: e3df12a8f5b0
Aye: aye-blu-g75-mt6768 @ 432Hz
Hybrid Retrieval, Ranking & Entropy
Branchless integer similarity scoring, edit-distance evaluation, and candidate ranking for high-throughput retrieval pipelines.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: fb3290eb87c1
C64 RAM: 611/65536 (611 B src)
69521/128 cyc/op
562923/512 ns/op | 512000/562923 ops/us
67 B .text (17 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (611 B)
pub fn ayeos_mt6358_sgen_crest_step_v1(semitone_state: u64) -> u64 {
    let raw_div = (semitone_state >> 40) & 0x1F;
    let sgen_div = if raw_div == 0 { 1 } else { raw_div };
    let semi = (semitone_state >> 32) & 0x1F;
    let phase_seed = semitone_state & 0xFFFF;
    let mut crest_energy: u64 = 0;
    let mut step: u64 = 0;
    while step < 16 {
        let delta = (phase_seed + sgen_div * 125) * (step + 1);
        crest_energy = crest_energy.wrapping_add(delta);
        step += 1;
    }
    let pa_word: u64 = 0x5859_3080;
    (pa_word << 32) | ((semi & 0xFF) << 24) | (crest_energy & 0x00FF_FFFF)
}
Page 1 of 1 (22 total capsules)