Actual native argument delivery in the Chan–He traversal #
The current record and persistent parameters are delivered to the existing complete modulus and node programs in registers 0–63. Every copy and histogram-base addition is a native instruction. The record, controller parameters and native word-stack registers survive setup.
Main definitions #
modulusState,nodeState: exact states after the two native argument blocks.
Main results #
prepareModulus_exec: fourteen charged instructions, including all histogram-base additions.prepareNode_exec: ten charged native register copies.modulusState_preserves,nodeState_preserves: all registers above the kernel survive.
These calling-convention proofs are original.
The exact state after the fourteen-instruction modulus argument block.
Instances For
The exact state after the ten-instruction node argument block.
Instances For
The existing node layout instantiated by the traversal record and one computed modulus.
Instances For
The delivered node ABI has exactly the current record's layout.
The layout reads only persistent record/controller fields outside the selected-modulus word.
The final endpoint formula expressed entirely in the persistent traversal ABI.
Modulus argument delivery preserves every traversal and stack register.
Node argument delivery preserves every traversal and stack register.
Native modulus argument delivery charges the three histogram-base additions too. A fit for their largest value derives all intermediate address fits.
Complete node argument delivery is ten native copies; no address arithmetic is hidden.
Actual argument delivery and complete two-prime computation inside the traversal's fixed register file. The mathematical filters may fail; their default-one selections are still bounded. The bitmap/count are the outputs of the separate native prime-table routine.
Ten actual argument copies followed by the complete native heavy/packed-node program. The existing exact semantic output and the full allocation frame survive register renaming.