code wiki / (root) / nx_hw_simd_caps_test.nx

nx_hw_simd_caps_test.nx

buildroot/runtime/nx_hw_simd_caps_test.nx

1095 B30 linesdepth 6pulls 9 transitivereach 0 importersview sourcekind gate/prooftopic hw
docsdependenciesstructsconstsfunctions

about

nx_hw_simd_caps_test.nx -- exercise all 6 probe entry points. Verifies the /proc/cpuinfo probe runs cleanly and returns non-negative results. Doesn't assert specific capabilities -- those depend on the host CPU.

dependencies 3 imports · 0 importers

nx_kernel_v2.nx nx_log.nx nx_hw_simd_caps.nx nx_hw_simd_caps_test.nx

imports: nx_kernel_v2.nxnx_log.nxnx_hw_simd_caps.nx

imported by: nobody (leaf or entry point)

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

main sum_all_caps nx_hw_has_avx2 _nx_hw_caps_init sys_mmap _nx_hw_read_cpuinfo sys_read sys_close _nx_hw_tok_lit _nx_hw_has_token nx_hw_has_avx512 _nx_hw_caps_init ↻ nx_hw_has_sse4_2 _nx_hw_caps_init ↻ nx_hw_has_rvv _nx_hw_caps_init ↻ nx_hw_has_neon _nx_hw_caps_init ↻ nx_hw_simd_i64x4_available _nx_hw_caps_init ↻

structs

none

consts

none

functions

13func sum_all_caps() -> i64
23func main() -> nx_exit
calls 1: sum_all_caps