nx_p256_pointloop_bench.nx
buildroot/runtime/nx_p256_pointloop_bench.nx
about
nx_p256_pointloop_bench.nx -- reusable crypto perf workload for codegen A/B.
A field-op-heavy P-256 point loop (double + add): long mem-bound limb chains,
the real critical path where register residency (G1) pays off. Per-iter arena
framing keeps memory constant. Used by bench/nx_codegen_ab.sh as a standing
"racing crew" benchmark for any backend/codegen change (G1/G2/G3/...).
expect_exit: deterministic (same under any correct codegen) -- A/B compares it.
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_u256.nxnx_p256_field.nxnx_p256_point.nxnx_p256_point_add.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
| 12 | const K_MAGIC_50000: i64 = 50000 |
functions
| 14 | func main() -> i64 |