code wiki / regalloc

topic: regalloc

16 modules sharing the regalloc name family (derived from the tree's prefix discipline).

The 'regalloc' topic family in the Nishi sovereign ecosystem focuses on register allocation techniques and their verification within the NishiLang framework. It includes modules like _regalloc_lf_repro, which provides a reproducible test case for linear-scan register allocation, and nx_regalloc_linscan, which implements a provable linear-scan allocator with bits-up optimization. The nx_regalloc_interp module ensures execution-equivalence between original and allocated code, validating correctness through formal verification.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
_regalloc_lf_repro.nxcandidate TEN-SECOND repro for LM-REGALLOC: the545
nx_regalloc.nxlinear-scan register allocator, in NishiLang. 111223
nx_regalloc_absorb_governed_test.nxthe LOOP governs absorbing the allocator1135
nx_regalloc_calls.nxthe G1 register allocator's KEYSTONE capability: correct1425
nx_regalloc_calls_test.nxPROVE the G1 allocator's live-across-call capability, with1107
nx_regalloc_exec_test.nxPROVE register-allocated execution is 1:1 with the1124
nx_regalloc_interp.nxEXECUTION-equivalence verifier for register allocation.854
nx_regalloc_linscan.nxlinear-scan register allocation, bits-up + PROVABLE.1435
nx_regalloc_linscan_test.nxprove the register allocator on two IRs:954
nx_regalloc_liveness_diag.nxBITS-UP DIAGNOSTIC for the disabled991
nx_regalloc_race_kernel_test.nxpoint the proven allocator at the EXACT hot833
nx_regalloc_soundness_test.nxBITS-UP soundness proof for the allocator1641
regalloc.nxalias stub.240
regalloc_evict_test.nxproves the Poletto-Sarkar spill-at-951
regalloc_fpr_evict_test.nxproves linear_scan_fpr's eviction781
regalloc_test.nxself-test for regalloc.nx. 571