code wiki / (root) / _nx_bits_speed_paired.nx

_nx_bits_speed_paired.nx

buildroot/runtime/_nx_bits_speed_paired.nx

2374 B87 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tooltopic nx
docsdependenciesstructsconstsfunctions

about

_nx_bits_speed_paired.nx Paired speed bench: 10M-iteration popcount on the same data via FAST (intrinsic dispatch) vs SOFT (SWAR) paths. Substrate writes nanoseconds for each path to stdout via sys_write. Harness picks the timing apart and emits a sealed BEATS/EQUIVALENT verdict. Honest-measurement discipline: same compiled-in input mix, same loop structure, only difference is the function called.

dependencies 3 imports · 0 importers

syscalls.nx nx_bits.nx nx_clock.nx _nx_bits_speed_paired.nx

imports: syscalls.nxnx_bits.nxnx_clock.nx

imported by: nobody (leaf or entry point)

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

main nx_clock_monotonic_ns sys_mmap sys_clock_gettime_mono nx_bits_popcount64 nx_bits_popcount64_soft _print_dec

structs

none

consts

none

functions

16func _print_dec(n: i64) -> i64
called by 1: main
44func main() -> i64