nx_simd_probe2.nx
buildroot/runtime/nx_simd_probe2.nx
about
nx_simd_probe2.nx -- verify the POINTER-FORM __simd_vdot_i16_x16 compiles AND computes on x86.
The vload form (__simd_vload_i16_x16) is unhandled by nx_cc_known_good, but the pointer form
__simd_vdot_i16_x16(ptr_a, ptr_b) compiles (2512 lines .s). This confirms it also COMPUTES correctly:
dot([1..16],[1..16]) = sum(i^2 for i=1..16) = 1496. run-exit=0 => SIMD is USABLE via the pointer form.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_tier.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
| 9 | const K_MAGIC_1496: i64 = 1496 |
functions
| 11 | func sp2_pack(a: i64, b: i64, c: i64, d: i64) -> i64 called by 1: main |
| 15 | func main() -> i64 |