code wiki / (root) / nx_i8dot32_kat.nx

nx_i8dot32_kat.nx

buildroot/runtime/nx_i8dot32_kat.nx

1949 B56 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_i8dot32_kat.nx -- KAT for the new __f32_i8dot32 SSE intrinsic. __f32_i8dot32(a:*i8[32], b:*f32[32]) = sum_{j<32} sext(a[j]) * b[j]. Compared to a scalar hardware-op reference; exact-int regime so the 4-lane-parallel accumulation is bit-identical to sequential. expect_exit: 0 (77=mismatch)

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_f32.nx nx_f32_cvt.nx nx_i8dot32_kat.nx

imports: nx_syscalls.nxnx_f32.nxnx_f32_cvt.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap k_st4 nx_i32_to_f32

structs

none

consts

none

functions

10func k_st4(p: *u8, idx: i64, bits: i64) -> i64
called by 1: main
18func main() -> i64