Executable correction subroutines #
The highest-bit call accepts an ordinary physical register and initializes its own bank. The boundary and second-rank calls charge all register transfers. No call changes memory.
Main results #
NodeProgram.exec_highest: the concrete highest-bit code on the selected exclusive or.NodeProgram.exec_boundaries: both correction endpoints and the query bit.NodeProgram.exec_secondQuery: a full second sketch query with charged transfers.
References #
Disjoint workspace for the complete multiword highest-bit program.
Instances For
Copy the physical input, run the actual highest-bit program, and copy its scalar result.
Instances For
The 200000-instruction MSB bound plus its two actual caller copies.
Prepare two inputs and compute both correction boundaries.
Instances For
The boundary call includes three transfer instructions and ten arithmetic instructions.
Transfer a full word to the compressor, make a sketch query and return the rank.
Instances For
Both caller copies and all 119 sketch-query instructions are charged.
Both boundary words are physical words, including a differing bit at w - 1.