Test Arithmetic¶
Documentation for tests/benchmark/compute/instruction/test_arithmetic.py@ffe48572.
Generate fixtures for these test cases for Bogota with:
Benchmark arithmetic instructions.
Supported Opcodes: - ADD - ADDMOD - MUL - MULMOD - SUB - SUBMOD - DIV - SDIV - MOD - SMOD - EXP - SIGNEXTEND
Test Functions Overview¶
| Name | Type | Cases (Bogota) | Description |
|---|---|---|---|
test_arithmetic |
benchmark_test | 9 | Benchmark arithmetic instructions. |
test_exp_bench_arithmetic |
benchmark_test | 36 | Benchmark EXP instruction. |
test_mod |
benchmark_test | 8 | Benchmark MOD instructions. |
test_mod_arithmetic |
benchmark_test | 8 | Benchmark ADDMOD and MULMOD instructions. |