SPRUJB6B November 2024 – May 2025 AM2612
The MAU supports a dedicated squaring operation Scratchpad=B2. This is equivalent to Scratchpad=B*B, but more efficient.
A = Scratchpad
Scratchpad = montmul(multiplicand,A)
The single writeback-and-multiply command is equivalent to performing those commands separately, except that for fused writeback and multiply the multiplicand and A must not alias. However, this command performs better than separately writing back and multiplying. There are also writeback-and-square and writeback-and-double commands.