Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.Program

One-geometry native box-product controller #

The existing producer and router keep their 160-register caller protocol. Six unused high registers retain the ordinary threshold and actual box geometry between tile calls. Every tile reloads the low box bank, constructs its retained values, executes all wanted queries, and copies temporary answers into the protected grouped buffer.

Reuse the unchanged fixed box kernels in the caller's low register bank.

@[reducible, inline]

Ordinary original threshold, retained before low-memory producer reuse.

@[reducible, inline]

Actual shared box-directory base.

@[reducible, inline]

Actual compact descriptor base.

@[reducible, inline]

Actual reusable signed value-table base.

@[reducible, inline]

Actual computed compact box count.

@[reducible, inline]

Actual reusable temporary-answer base, above the work stack.

Retain the computed geometry and initialize the actual tile index and temporary answers.

Restore every low scalar read by the retained-value constructor after ordinary span setup.

Save the computed low ABI before its registers are reused by the box constructor.

Reuse actual span/pointer arithmetic, retain the real cursors and fully restore the box ABI.

Actual temporary-result copy, retaining the original protected grouped-answer layout.

One native retained table, all sparse queries in its real span, and actual answer delivery.

All tiles use the same compact geometry and reusable value/query/result allocation.