mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-11 02:03:07 +00:00
minor
This commit is contained in:
parent
1269544712
commit
681b6e31e7
@ -30,26 +30,26 @@ global rol:
|
||||
// acc += (i==rnd)*F
|
||||
// return acc, rnd
|
||||
//
|
||||
// %this_F(i,F) enacts
|
||||
// %this_f(i,F) enacts
|
||||
// acc += (i==rnd)*F
|
||||
|
||||
%macro push_f
|
||||
// stack: rnd
|
||||
PUSH 0
|
||||
%this_F(0,F0)
|
||||
%this_F(1,F1)
|
||||
%this_F(2,F2)
|
||||
%this_F(3,F3)
|
||||
%this_F(4,F4)
|
||||
%this_F(5,F4)
|
||||
%this_F(6,F3)
|
||||
%this_F(7,F2)
|
||||
%this_F(8,F1)
|
||||
%this_F(9,F0)
|
||||
%this_f(0,F0)
|
||||
%this_f(1,F1)
|
||||
%this_f(2,F2)
|
||||
%this_f(3,F3)
|
||||
%this_f(4,F4)
|
||||
%this_f(5,F4)
|
||||
%this_f(6,F3)
|
||||
%this_f(7,F2)
|
||||
%this_f(8,F1)
|
||||
%this_f(9,F0)
|
||||
// stack: F, rnd
|
||||
%endmacro
|
||||
|
||||
%macro this_F(i, F)
|
||||
%macro this_f(i, F)
|
||||
// stack: acc, rnd
|
||||
DUP2
|
||||
// stack: rnd , acc, rnd
|
||||
|
||||
@ -23,8 +23,8 @@ store_size:
|
||||
%extract_and_store_byte(70)
|
||||
// stack: a
|
||||
%mstore_kernel_general(71)
|
||||
// stack: 0x80 // padding has 0x80 in first position and zeros elsewhere
|
||||
%mstore_kernel_general(72) // store first padding term here so as to avoid extra label
|
||||
// stack: 0x80 // padding has 0x80 in first position and zeros elsewhere
|
||||
%mstore_kernel_general(72) // store first padding term here so as to avoid extra label
|
||||
%jump(store_padding)
|
||||
|
||||
store_padding:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user