mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-03 14:23:07 +00:00
more %stack sha2 cleanup
This commit is contained in:
parent
140242c556
commit
5cf8bf2ba3
@ -119,10 +119,7 @@
|
||||
PUSH 8
|
||||
SHL
|
||||
// stack: 1 << 8, value, offset
|
||||
SWAP1
|
||||
// stack: value, 1 << 8, offset
|
||||
DUP2
|
||||
DUP2
|
||||
%stack (shift, val, offset) -> (val, shift, val, shift, offset)
|
||||
// stack: value, 1 << 8, value, 1 << 8, offset
|
||||
MOD
|
||||
// stack: c_0 = value % (1 << 8), value, 1 << 8, offset
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user