mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
better comments
This commit is contained in:
parent
59dc9b2d8e
commit
f6a30cba7c
@ -37,8 +37,8 @@ ret_stack:
|
||||
%jump(0xdeadbeef)
|
||||
|
||||
|
||||
/// fp6 macros:
|
||||
/// macro | num | ops | cost
|
||||
/// fp6 functions:
|
||||
/// fn | num | ops | cost
|
||||
/// -------------------------
|
||||
/// load | 8 | 40 | 320
|
||||
/// store | 5 | 40 | 200
|
||||
@ -61,16 +61,20 @@ ret_stack:
|
||||
///
|
||||
/// TOTAL: 1196
|
||||
|
||||
|
||||
/// inputs:
|
||||
/// F = f + f'z
|
||||
/// G = g + g'z
|
||||
///
|
||||
/// output:
|
||||
/// H = h + h'z = FG
|
||||
///
|
||||
/// h = fg + sh(f'g')
|
||||
/// h' = (f+f')(g+g') - fg - f'g'
|
||||
///
|
||||
/// Note: f, f', g, g' consist of six terms on the stack
|
||||
/// memory offsets [ind' = ind+6]
|
||||
/// {in0: f, in0: f', in1: g, in1':g', out: h, out': h'}
|
||||
///
|
||||
/// f, f', g, g' consist of six elements on the stack
|
||||
|
||||
global mul_Fp12:
|
||||
// stack: in0, in1, out
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user