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 |
|---|---|---|---|---|---|
| #799 SOLE CROWN #1 | step_babbage_cubic_8x_i32 domain: ayecast-x86_64 | id: 6d1c05f66367Aye: aye::Hue+Gemini(0+1)::x86_64 @ 432Hz | Deterministic Sovereign Compute Kernel Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition. Specialized Multi-Pin Stage `(i32,i32,i32,i32)->[i32;8]` — wire matching input pins via `snap_dag` or `snap_pipeline`. | (i32,i32,i32,i32)->[i32;8]64-vec BLAKE3: 7ecac38e7957C64 RAM: 967/65536 (967 B src) | 394233/25000 cyc/op 427801/100000 ns/op | 100000000/427801 ops/us 270 B .text (80 insns) | Trit + (1) | Inspect Details & ASM →Quick Peek Rust (967 B)pub const fn step_babbage_cubic_8x_i32(p0: i32, p1: i32, p2: i32, p3: i32) -> [i32; 8] {
let x0 = p0 as i64;
let x1 = p1 as i64;
let x2 = p2 as i64;
let x3 = p3 as i64;
// Catmull-Rom polynomial coefficients scaled by 2 * 512 = 1024 (t = k/8, k=0..7)
let c0 = 2 * x1;
let c1 = x2 - x0;
let c2 = 2 * x0 - 5 * x1 + 4 * x2 - x3;
let c3 = -x0 + 3 * x1 - 3 * x2 + x3;
// Evaluate at k = 0, 1, 2, 3 to seed Babbage forward differences (d1, d2, d3)
let f0 = c0 * 512;
let f1 = c0 * 512 + c1 * 64 + c2 * 8 + c3;
let f2 = c0 * 512 + c1 * 128 + c2 * 32 + c3 * 8;
let f3 = c0 * 512 + c1 * 192 + c2 * 72 + c3 * 27;
let mut y = f0;
let mut d1 = f1 - f0;
let mut d2 = (f2 - f1) - d1;
let d3 = f3 - 3 * f2 + 3 * f1 - f0;
let mut out = [0i32; 8];
let mut k = 0;
while k < 8 {
out[k] = (y >> 10) as i32;
y += d1;
d1 += d2;
d2 += d3;
k += 1;
}
out
} |