From 681b6e31e79f37ea1c15125b77bb65d515fd905a Mon Sep 17 00:00:00 2001 From: Dmitry Vagner Date: Mon, 3 Oct 2022 14:01:47 -0700 Subject: [PATCH] minor --- evm/src/cpu/kernel/asm/ripemd/functions.asm | 24 ++++++++++----------- evm/src/cpu/kernel/asm/ripemd/memory.asm | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/evm/src/cpu/kernel/asm/ripemd/functions.asm b/evm/src/cpu/kernel/asm/ripemd/functions.asm index 6cc3db17..ac111215 100644 --- a/evm/src/cpu/kernel/asm/ripemd/functions.asm +++ b/evm/src/cpu/kernel/asm/ripemd/functions.asm @@ -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 diff --git a/evm/src/cpu/kernel/asm/ripemd/memory.asm b/evm/src/cpu/kernel/asm/ripemd/memory.asm index 4bb9c1b6..6c684eb1 100644 --- a/evm/src/cpu/kernel/asm/ripemd/memory.asm +++ b/evm/src/cpu/kernel/asm/ripemd/memory.asm @@ -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: