mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 08:13:11 +00:00
bus -> subr
This commit is contained in:
parent
37e429c943
commit
dc59ed10a1
@ -83,7 +83,7 @@ global mul_Fp12:
|
||||
// stack: (f+f')(g+g')
|
||||
%load_fp6(42)
|
||||
// stack: f'g', (f+f')(g+g')
|
||||
%bus_fp6
|
||||
%subr_fp6
|
||||
// stack: (f+f')(g+g') - f'g'
|
||||
%load_fp6(48)
|
||||
// stack: fg, (f+f')(g+g') - f'g'
|
||||
@ -91,7 +91,7 @@ global mul_Fp12:
|
||||
// stack: (f+f')(g+g') - f'g', fg
|
||||
%dup2_fp6
|
||||
// stack: fg, (f+f')(g+g') - f'g', fg
|
||||
%bus_fp6
|
||||
%subr_fp6
|
||||
// stack: (f+f')(g+g') - f'g' - fg, fg
|
||||
%store_fp6(30)
|
||||
// stack: fg
|
||||
|
||||
@ -181,7 +181,7 @@
|
||||
%endmacro
|
||||
|
||||
// *reversed argument subtraction* cost: 17
|
||||
%macro bus_fp6
|
||||
%macro subr_fp6
|
||||
// stack: f0, f1, f2, f3, f4, f5, g0, g1, g2, g3, g4, g5
|
||||
SWAP7
|
||||
SUBFP254
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user