nx_f32x8_probe.nx
buildroot/runtime/nx_f32x8_probe.nx
about
nx_f32x8_probe.nx -- test the x86 f32 SIMD primitive __f32x8_dot on nx_cc_known_good.
nx_parse.nx:1463 documents __f32x8_dot(a_ptr, b_ptr) = dot of 8 CONTIGUOUS 4-byte f32 -> f32 scalar,
x86 AVX2 vmovups+vmulps + hsum. If it works, the f32 side (DiT projections, linear attention) can be SIMD-
accelerated (complement to integer vpmaddwd). Golden: dot([1..8],[1..8]) = sum(i^2,1..8) = 204.
Note: f32 must be packed as 4-byte f32 in memory (not i64-per-value).
license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_le.nxnx_f32.nxnx_f32_div.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
structs
| none |
consts
| none |
functions
| 15 | func main() -> i64 |