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): 248859 B / 5979025 B (ratio 19143/459925, saved 440782/459925, 11708 ″ dittos)
8b.is Projects: 373
GitHub App Installations: 4 (Zero-Mining Vaults)
Security Bulletins: 6 (+ 8 Announcements)
AI Peer Reviews: 36660
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 2026..2049 of 2049 matching capsules (Page 82 of 82)
Rank & CrownFunction Name & DomainBest Use & Snap-Circuit RolePin Signature & 64-Vec HashHardware _rdtsc (p/q)Details & Quick Peek
#2026
PEER of 312
steward_far_isqrt_salience_step
domain: far | id: 7edcc4cd61e6
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: 319/65536 (319 B src)
64312383/400000 cyc/op
10392831/200000 ns/op | 200000000/10392831 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (319 B)
#[inline(always)]
pub fn steward_far_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
}
#2027
PEER of 312
steward_onecompression_isqrt_salience_step
domain: OneCompression | id: 42bcb968be50
Aye: alexiai-tokyo-steward @ 432Hz
Lossless Wire & Structural Compression
Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols.
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: 165/32768 (330 B src)
65098883/400000 cyc/op
2630431/50000 ns/op | 50000000/2630431 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (330 B)
#[inline(always)]
pub fn steward_onecompression_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
}
#2028
PEER of 312
steward_g8t_isqrt_salience_step
domain: g8t | id: f9fc01b2e90e
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: 319/65536 (319 B src)
1010693/6250 cyc/op
4181841/80000 ns/op | 80000000/4181841 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (319 B)
#[inline(always)]
pub fn steward_g8t_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
}
#2029
PEER of 312
steward_dcase20_task4_isqrt_salience_step
domain: dcase20_task4 | id: 4e0e91f7897d
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: 329/65536 (329 B src)
31389189/200000 cyc/op
2536817/50000 ns/op | 50000000/2536817 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (329 B)
#[inline(always)]
pub fn steward_dcase20_task4_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
}
#2030
CROWN #1 of 2
gcd_binary_i64
domain: math | id: bbf489200f39
Aye: aye::Peter+Omni(0+1)::aarch64 @ 432Hz
Exact Integer Number Theory & Transcendentals
Hardware-verified modular arithmetic, integer roots, and combinatorial invariants for exact rational math engines and cryptographic primitives.
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: cdce9b8cd667
C64 RAM: 1069/65536 (1069 B src)
27215567/100000 cyc/op
1063207/12500 ns/op | 12500000/1063207 ops/us
201 B .text (53 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (1069 B)
/// Binary (Stein's) GCD for `i64`, same contract as the modulo loop it replaces.
///
/// `gcd_i64` at ~677 cycles/op pays for a real 64-bit divide on every round.
/// Stein's algorithm needs no divide at all: normalise the signs the same way
/// (`saturating_neg`, so `i64::MIN` becomes `i64::MAX`), strip the shared power
/// of two, then subtract and discard factors of two.
///
/// Edge cases preserved exactly: `gcd(0, 0) = 1`, `gcd(0, x) = x`,
/// `gcd(x, 0) = x`.
pub const fn gcd_binary_i64(a: i64, b: i64) -> i64 {
    let mut a = if a < 0 { a.saturating_neg() } else { a };
    let mut b = if b < 0 { b.saturating_neg() } else { b };
    if a == 0 && b == 0 {
        return 1;
    }
    if a == 0 {
        return b;
    }
    if b == 0 {
        return a;
    }
    let shift = (a | b).trailing_zeros();
    a >>= a.trailing_zeros();
    loop {
        b >>= b.trailing_zeros();
        if a > b {
            let tmp = a;
            a = b;
            b = tmp;
        }
        b -= a;
        if b == 0 {
            return a << shift;
        }
    }
}
#2031
PEER of 312
steward_8b_kit_isqrt_salience_step
domain: 8b-kit | id: 83114bc9a195
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: 161/32768 (322 B src)
983599/6250 cyc/op
5086859/100000 ns/op | 100000000/5086859 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (322 B)
#[inline(always)]
pub fn steward_8b_kit_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
}
#2032
PEER of 312
steward_aurora_isqrt_salience_step
domain: aurora | id: 0732c54baf52
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: 161/32768 (322 B src)
14532769/80000 cyc/op
23485899/400000 ns/op | 400000000/23485899 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (322 B)
#[inline(always)]
pub fn steward_aurora_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
}
#2033
PEER of 312
steward_ternary_pq_text_pilot_isqrt_salience_step
domain: ternary-pq-text-pilot | id: 4c23182ed4b0
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.
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: 337/65536 (337 B src)
14604751/80000 cyc/op
2950261/50000 ns/op | 50000000/2950261 ops/us
126 B .text (34 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (337 B)
#[inline(always)]
pub fn steward_ternary_pq_text_pilot_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
}
#2034
SOLE CROWN #1
gcd
domain: smart-tree | id: 1a4bc27c7fe0
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Lossless Wire & Structural Compression
Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols.
Specialized Multi-Pin Stage `(i32,i32)->i32` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(i32,i32)->i32
64-vec BLAKE3: dbe39e3c2750
C64 RAM: 129/65536 (129 B src)
20393967/100000 cyc/op
38846107/400000 ns/op | 400000000/38846107 ops/us
65 B .text (23 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (129 B)
pub fn gcd(mut a: i32, mut b: i32) -> i32 {
    while b != 0 {
        let t = b;
        b = a % b;
        a = t;
    }
    a
}
#2035
PEER of 3
isqrt_u64
domain: ayecast-x86_64 | id: 701c3bcfc01c
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Exact Integer Number Theory & Transcendentals
Hardware-verified modular arithmetic, integer roots, and combinatorial invariants for exact rational math engines and cryptographic primitives.
1-to-1 Unary Transform Stage `(u64)->u64` — snaps directly into linear pipelines or fan-out DAG branches.
(u64)->u64
64-vec BLAKE3: 22317c08f10e
C64 RAM: 51/16384 (204 B src)
288519/625 cyc/op
10018371/80000 ns/op | 80000000/10018371 ops/us
115 B .text (34 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (204 B)
pub const fn isqrt_u64(n: u64) -> u64 {
    if n < 2 {
        return n;
    }
    let mut x = n;
    let mut y = (x + 1) >> 1;
    while y < x {
        x = y;
        y = (x + n / x) >> 1;
    }
    x
}
#2036
PEER of 8
gcd_u64
domain: ayecast-x86_64 | id: 6ac4c0cf31db
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Exact Integer Number Theory & Transcendentals
Hardware-verified modular arithmetic, integer roots, and combinatorial invariants for exact rational math engines and cryptographic primitives.
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: c8748439c46f
C64 RAM: 41/16384 (164 B src)
193134903/400000 cyc/op
52398841/400000 ns/op | 400000000/52398841 ops/us
68 B .text (23 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (164 B)
pub const fn gcd_u64(mut a: u64, mut b: u64) -> u64 {
    while b != 0 {
        let r = a % b;
        a = b;
        b = r;
    }
    if a == 0 { 1 } else { a }
}
#2037
PEER of 2
gcd
domain: smart-tree | id: 017e99472d98
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Lossless Wire & Structural Compression
Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols.
2-to-1 Binary Combiner / Join Stage `(u32,u32)->u32` — ideal for merging two upstream DAG branches, dot products, or pairwise rank fusion.
(u32,u32)->u32
64-vec BLAKE3: eb3e1ec8f830
C64 RAM: 133/65536 (133 B src)
57680547/200000 cyc/op
6866811/50000 ns/op | 50000000/6866811 ops/us
29 B .text (10 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (133 B)
pub fn gcd(mut a: u32, mut b: u32) -> u32 {
    while b != 0 {
        let tmp = b;
        b = a % b;
        a = tmp;
    }
    a
}
#2038
SOLE CROWN #1
is_safe_memory_context
domain: smart-tree-x86_64 | id: b2ab9acca03f
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Lossless Wire & Structural Compression
Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols.
Specialized Multi-Pin Stage `(&str,&str)->bool` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(&str,&str)->bool
64-vec BLAKE3: 745693acec21
C64 RAM: 193/8192 (1544 B src)
131445909/400000 cyc/op
42790251/400000 ns/op | 400000000/42790251 ops/us
868 B .text (217 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (1544 B)
pub fn is_safe_memory_context(context: &str, source: &str) -> bool {
        let lower_context = context.to_lowercase();
        let lower_source = source.to_lowercase();

        // Safe source paths (documentation, configs, etc.)
        let safe_paths = [
            ".oh-my-zsh",
            "node_modules",
            "/usr/share/doc",
            "contributing",
            "readme",
            "changelog",
            "license",
            ".cargo/registry",
        ];

        if safe_paths.iter().any(|p| lower_source.contains(p)) {
            return true;
        }

        // Safe context patterns (talking ABOUT memory, not instructing)
        let safe_context_patterns = [
            "please remember",       // Polite request to user
            "important to remember", // Documentation
            "worth remembering",     // Documentation
            "should remember",       // Advice
            "users should",          // Documentation
            "developers should",     // Documentation
            "feature allows",        // Feature description
            "this feature",          // Feature description
            "the memory",            // Describing a feature
            "a memory",              // Describing a concept
            "memory management",     // Technical term
            "memory usage",          // Technical term
            "memory leak",           // Technical term
        ];

        safe_context_patterns
            .iter()
            .any(|p| lower_context.contains(p))
    }
#2039
PEER of 8
binary_gcd
domain: base-layer-x86_64 | id: 0726148901e9
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Exact Integer Number Theory & Transcendentals
Hardware-verified modular arithmetic, integer roots, and combinatorial invariants for exact rational math engines and cryptographic primitives.
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: c8748439c46f
C64 RAM: 409/65536 (409 B src)
65364067/200000 cyc/op
62252217/400000 ns/op | 400000000/62252217 ops/us
87 B .text (27 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (409 B)
pub fn binary_gcd(mut u: u64, mut v: u64) -> u64 {
    if u == 0 {
        return v;
    }
    if v == 0 {
        return u;
    }
    let shift = (u | v).trailing_zeros();
    u >>= u.trailing_zeros();
    loop {
        v >>= v.trailing_zeros();
        if u > v {
            core::mem::swap(&mut u, &mut v);
        }
        v -= u;
        if v == 0 {
            break;
        }
    }
    u << shift
}
#2040
PEER of 2
looks_like_instruction
domain: smart-tree-x86_64 | id: a157033af2b5
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Lossless Wire & Structural Compression
Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols.
Specialized Multi-Pin Stage `(&str)->bool` — wire matching input pins via `snap_dag` or `snap_pipeline`.
(&str)->bool
64-vec BLAKE3: cf029ab232ff
C64 RAM: 333/32768 (666 B src)
92775119/200000 cyc/op
60401631/400000 ns/op | 400000000/60401631 ops/us
3266 B .text (674 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (666 B)
pub fn looks_like_instruction(content: &str) -> bool {
        let lower = content.to_lowercase();
        let instruction_markers = [
            "you must",
            "you should",
            "you will",
            "always ",
            "never ",
            "ignore ",
            "forget ",
            "override",
            "instruction",
            "system prompt",
            "act as",
            "behave as",
            "respond as",
            "from now on",
            "silently",
            "without telling",
            "don't mention",
            "secretly",
        ];
        instruction_markers.iter().any(|m| lower.contains(m))
    }
#2041
PEER of 5
gaia_ternary_dot_loop
domain: gaia-mlx-quant | id: 94f6cb0d3e18
Aye: aye-claude @ 528Hz
Balanced Ternary & b158 Quantization
High-speed ternary dot-product accumulation without integer multiplier bottlenecks; ideal for b158 neural weights and low-bit attention inner loops.
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: 0abcabf86830
C64 RAM: 675/65536 (675 B src)
147341853/400000 cyc/op
23810453/200000 ns/op | 200000000/23810453 ops/us
178 B .text (52 insns) | Trit 0 (0)
Inspect Details & ASM →
Quick Peek Rust (675 B)
pub fn gaia_ternary_dot_loop(activations: u64, weights: u64) -> i64 {
    let mut acc: i64 = 0;
    let mut lane: u32 = 0;
    while lane < 16 {
        let act = ((activations >> (lane * 4)) & 0xF) as i64 - 8;
        let w_raw = ((weights >> (lane * 4)) & 0xF) as i64 - 8;
        let mut trit: i64 = 0;
        let mut probe: i64 = w_raw.wrapping_mul(17);
        while probe > 34 {
            trit = 1;
            probe -= 13;
        }
        while probe < -34 {
            trit = -1;
            probe += 13;
        }
        if trit == 1 {
            acc += act;
        } else if trit == -1 {
            acc -= act;
        }
        lane += 1;
    }
    acc
}
#2042
PEER of 8
gcd
domain: smart-tree | id: 0fffe360635e
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Lossless Wire & Structural Compression
Zero-allocation integer bit-packing, variable-length encoding, and stream framing for sovereign wire protocols.
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: c8748439c46f
C64 RAM: 5/2048 (160 B src)
87618927/200000 cyc/op
83447191/400000 ns/op | 400000000/83447191 ops/us
68 B .text (23 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (160 B)
pub const fn gcd(mut a: u64, mut b: u64) -> u64 {
    while b != 0 {
        let r = a % b;
        a = b;
        b = r;
    }
    if a == 0 { 1 } else { a }
}
#2043
PEER of 2
gcd_i64
domain: gemini-diary-x86_64 | id: db0770ddd3c0
Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz
Exact Integer Number Theory & Transcendentals
Hardware-verified modular arithmetic, integer roots, and combinatorial invariants for exact rational math engines and cryptographic primitives.
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: cdce9b8cd667
C64 RAM: 147/32768 (294 B src)
135541833/200000 cyc/op
4034011/12500 ns/op | 12500000/4034011 ops/us
148 B .text (48 insns) | Trit + (1)
Inspect Details & ASM →
Quick Peek Rust (294 B)
pub const fn gcd_i64(mut a: i64, mut b: i64) -> i64 {
    if a < 0 {
        a = a.saturating_neg();
    }
    if b < 0 {
        b = b.saturating_neg();
    }
    while b != 0 {
        let r = a % b;
        a = b;
        b = r;
    }
    if a == 0 {
        1
    } else {
        a
    }
}
#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 82 of 82 (2049 total capsules)