mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-15 20:23:08 +00:00
swap shift orders
This commit is contained in:
parent
48f17e484b
commit
26574f8b1e
@ -11,14 +11,10 @@ global Rol:
|
||||
// stack: 32, n, x, x, n, retdest
|
||||
sub
|
||||
// stack: 32-n, x, x, n, retdest
|
||||
swap1
|
||||
// stack: x, 32-n, x, n, retdest
|
||||
shr
|
||||
// stack: x >> (32-n), x, n, retdest
|
||||
swap2
|
||||
// stack: n, x, x >> (32-n), retdest
|
||||
swap1
|
||||
// stack: x, n, x >> (32-n), retdest
|
||||
shl
|
||||
// stack: x << n, x >> (32-n), retdest
|
||||
push 0xffffffff
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user