Skip to content

Commit 8ae9dcc

Browse files
authored
feat(test-benchmark): add missing target opcodes for SMOD, MOD and EXP (#2613)
Signed-off-by: jsign <[email protected]>
1 parent 26c98b9 commit 8ae9dcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/benchmark/compute/instruction/test_arithmetic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ def test_mod(
302302

303303
input_value = initial_mod if not should_negate else neg(initial_mod)
304304
benchmark_test(
305+
target_opcode=opcode,
305306
code_generator=JumpLoopGenerator(
306307
setup=setup,
307308
attack_block=attack_block,
@@ -440,6 +441,7 @@ def test_exp_bench_arithmetic(
440441
attack_block = Op.DUP2 + Op.EXP
441442
cleanup = Op.POP + Op.POP + Op.DUP2 + Op.DUP2
442443
benchmark_test(
444+
target_opcode=Op.EXP,
443445
code_generator=JumpLoopGenerator(
444446
setup=setup,
445447
attack_block=attack_block,

0 commit comments

Comments
 (0)