code wiki / (root) / nx_simd_i8x32_test.nx

nx_simd_i8x32_test.nx

buildroot/runtime/nx_simd_i8x32_test.nx

3851 B106 linesdepth 6pulls 8 transitivereach 0 importersview sourcekind gate/prooftopic simd
docsdependenciesstructsconstsfunctions

about

nx_simd_i8x32_test.nx -- exercise the i8x32 SIMD intrinsics. 32 lanes of 8-bit ints in 256-bit vectors. Widest practical SIMD. Useful for crypto (AES rounds), string ops, INT8 quantized ML inference. No VMUL because AVX2 lacks vpmullb -- callers that need byte-mul split to i16x16 first.

dependencies 2 imports · 0 importers

nx_kernel_v2.nx nx_log.nx nx_simd_i8x32_test.nx

imports: nx_kernel_v2.nxnx_log.nx

imported by: nobody (leaf or entry point)

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

main t1_load_store pack8 t2_vadd pack8 ↻ t3_vbroadcast pack8 ↻ t4_vreduce_sum pack8 ↻

structs

none

consts

none

functions

12func pack8(b0: i64, b1: i64, b2: i64, b3: i64,
24func t1_load_store() -> i64
called by 1: main calls 1: pack8
42func t2_vadd() -> i64
called by 1: main calls 1: pack8
66func t3_vbroadcast() -> i64
called by 1: main calls 1: pack8
79func t4_vreduce_sum() -> i64
called by 1: main calls 1: pack8
93func main() -> nx_exit