You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
crypto: Use local accumulator t[] in mul_amm_256 to avoid aliasing
Use a local array t[4] instead of writing directly to the output
span r, which may alias the inputs x or y. This allows the compiler
to keep the accumulator in registers without reloading after stores.
The result is copied to r at the end.
~6% speedup on 256-bit modexp benchmarks (25846 → 24256 cycles).
0 commit comments