Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.CyclicConvolution.Term

Charged native cyclic-coefficient multiplication and accumulation #

These are internal execution APIs for the coefficient loop. Each term computes its cyclic index, loads the actual operands, calls the native signed multiply and add blocks, and advances the summation counter. Source-width premises for the operands and partial sum will be derived from coefficient magnitude bounds by the enclosing loop; no arithmetic result is supplied as an input to the program.

The actual wrap comparison and both unsigned subtractions take at most three instructions.

Exactly the arithmetic scratch, cyclic partner, partial sum, address and inner counter.

Instances For

    All index work, two loads, signed multiply/add and counter work take forty native instructions. The memory is unchanged and every parameter register is preserved.