From dc076df5b67a8fe3739c4274b2ef5d6ebd1e1fa9 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Fri, 28 Apr 2023 08:28:52 -0700 Subject: [PATCH] addressed comments --- evm/src/cpu/kernel/asm/core/precompiles/blake2_f.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evm/src/cpu/kernel/asm/core/precompiles/blake2_f.asm b/evm/src/cpu/kernel/asm/core/precompiles/blake2_f.asm index 100bf1de..8e81def8 100644 --- a/evm/src/cpu/kernel/asm/core/precompiles/blake2_f.asm +++ b/evm/src/cpu/kernel/asm/core/precompiles/blake2_f.asm @@ -30,7 +30,7 @@ global precompile_blake2_f: // stack: flag, flag_addr, blake2_f_contd, kexit_info DUP1 // stack: flag, flag, flag_addr, blake2_f_contd, kexit_info - %lt_const(2) ISZERO %jumpi(fault_exception) // Check flag < 2 (flag = 0 or flag = 1) + gt_const(1) %jumpi(fault_exception) // Check flag < 2 (flag = 0 or flag = 1) // stack: flag, flag_addr, blake2_f_contd, kexit_info SWAP1 // stack: flag_addr, flag, blake2_f_contd, kexit_info