nx_bench_matmul.nx
buildroot/runtime/nx_bench_matmul.nx
about
nx_bench_matmul.nx -- NishiLang twin of bench/xlang/matmul.c. Memory-bound
integer matmul checksum (64-bit wrapping). Prints checksum then elapsed_us.
Cm[r % (N*N)] === Cm[r] since r<REP<N*N, written directly. Checksum bit-exact
vs gcc AND clang (3rd-party oracles). license_tier: ORIGINAL No hw writes.
(nx_syscalls_x86_64.nx import REMOVED 2026-07-31, debt 1785528831: this file already
gets the canonical syscall layer via nx_clock.nx -> syscalls.nx, so importing the raw-x86
module too put TWO syscall layers in one TU -- every wrapper twice, numbering picked by
definition ORDER, silently.)
dependencies 1 imports · 0 importers
imports: nx_clock.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
| 10 | const K_MAGIC_6364136223846793005: i64 = 6364136223846793005 |
| 11 | const K_MAGIC_1442695040888963407: i64 = 1442695040888963407 |
functions
| 13 | func bm_emit_i64(fd: i64, n: i64) -> i64 called by 1: main |
| 31 | func main() -> i64 |