nx_p256_fieldmul_bench.nx
buildroot/runtime/nx_p256_fieldmul_bench.nx
about
nx_p256_fieldmul_bench.nx -- a NON-const-foldable P-256 field-mul benchmark.
The point-loop bench derives everything from the constant generator G, so opt
const-folds the field arithmetic away. This seeds the inputs from a RUNTIME
clock and chains a=field_mul(a,b) (data-dependent), so opt MUST emit the real
field_mul loop -- a valid workload for measuring field_mul (G2/G3). The return
folds in the runtime seed so the whole computation is live.
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_u256.nxnx_p256_field.nxnx_p256_field_mul.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
| 13 | const K_MAGIC_2654435761: i64 = 2654435761 |
| 14 | const K_MAGIC_40503: i64 = 40503 |
| 15 | const K_MAGIC_200000: i64 = 200000 |
functions
| 17 | func main() -> i64 |