mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-16 04:33:10 +00:00
TODO for possible future mul optimization
This commit is contained in:
parent
0627633439
commit
ad38f95741
@ -4,6 +4,8 @@
|
||||
// Stores a * b in output_loc, leaving a and b unchanged.
|
||||
// Both a and b have length len; a * b will have length 2 * len.
|
||||
// output_loc must be initialized as 2 * len zeroes.
|
||||
// TODO: possible optimization: allow output_loc to be uninitialized, and write over it with a[0:len] * b[0] (a multiplication
|
||||
// with carry) in place of the first addmul.
|
||||
global mul_bignum:
|
||||
// stack: len, a_start_loc, b_start_loc, output_loc, retdest
|
||||
DUP1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user