mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 16:53:07 +00:00
fixes
This commit is contained in:
parent
6610ec4487
commit
80d32f89b6
@ -28,6 +28,7 @@ pub(crate) fn combined_kernel() -> Kernel {
|
||||
include_str!("asm/exp.asm"),
|
||||
include_str!("asm/curve_mul.asm"),
|
||||
include_str!("asm/curve_add.asm"),
|
||||
include_str!("asm/memory.asm"),
|
||||
include_str!("asm/moddiv.asm"),
|
||||
include_str!("asm/secp256k1/curve_mul.asm"),
|
||||
include_str!("asm/secp256k1/curve_add.asm"),
|
||||
|
||||
@ -38,7 +38,7 @@ global memcpy:
|
||||
// stack: count, DST, SRC, count, retdest
|
||||
ISZERO
|
||||
// stack: count == 0, DST, SRC, count, retdest
|
||||
%jumpi memcpy_finish
|
||||
%jumpi(memcpy_finish)
|
||||
// stack: DST, SRC, count, retdest
|
||||
|
||||
// Copy the next value.
|
||||
@ -69,7 +69,7 @@ global memcpy:
|
||||
SWAP6
|
||||
|
||||
// Recurse!
|
||||
JUMP memcpy
|
||||
%jump(memcpy)
|
||||
|
||||
memcpy_finish:
|
||||
JUMPDEST
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user