aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/instructions_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-06-121-3/+3
|
* core/vm: reuse Keccak-256 hashes across opcode executions (#17863)Péter Szilágyi2018-10-081-0/+21
|
* core/vm : fix failing testcase (#17852)Martin Holst Swende2018-10-061-1/+2
| | | | | | * core/vm : fix failing testcase * core/vm: fix nitpick
* core/vm: SHA3 word cost for CREATE2 (#17812)Martin Holst Swende2018-10-051-0/+76
| | | | | | | | * core/vm: create2 address generation tests * core/vm: per byte cost of CREATE2 * core/vm: fix linter issue in test
* core/vm: update benchmarks for core/vm (#17308)Hyung-Kyu Hqueue Choi2018-08-031-0/+4
| | | | | | - Update benchmarks to use a pool of int pools. Unless benchmarks are aborted with segmentation fault. Signed-off-by: Hyung-Kyu Choi <hqueue@users.noreply.github.com>
* core/vm: support for multiple interpreters (#17093)Guillaume Ballet2018-07-251-30/+45
| | | | | | - Define an Interpreter interface - One contract can call contracts from other interpreter types. - Pass the interpreter to the operands instead of the evm. This is meant to prevent type assertions in operands.
* core/vm: reuse bigint pools across transactions (#17070)Guillaume Ballet2018-07-031-0/+6
| | | | | | | | * core/vm: A pool for int pools * core/vm: fix rebase issue * core/vm: push leftover stack items after execution, not before
* core/vm: optimize MSTORE and SLOAD (#16939)Martin Holst Swende2018-06-141-0/+39
| | | | | | | | | | * vm/test: add tests+benchmarks for mstore * core/vm: less alloc and copying for mstore * core/vm: less allocs in sload * vm: check for errors more correctly
* core/vm: remove JIT VM codes (#16362)hydai2018-03-261-3/+3
|
* core/vm: optimize eq, slt, sgt and iszero + tests (#16047)Martin Holst Swende2018-03-081-1/+14
| | | | | | | | * vm: optimize eq, slt, sgt and iszero + tests * core/vm: fix error in slt/sgt, found by vmtests. Added testcase * core/vm: make slt/sgt cleaner
* core, vm, common: define constantinople fork + shift (#16045)Martin Holst Swende2018-02-231-0/+153
| | | | | | | | | | | | * core, vm, common: define constantinople fork, start implementation of shift instructions * vm: more testcases * vm: add tests for intpool erroneous intpool handling * core, vm, common: fix constantinople review concerns * vm: add string<->op definitions for new opcodes
* all: update license information (#16089)Felix Lange2018-02-141-0/+16
|
* core/vm: benchmarking of metro precompilesMartin Holst Swende2017-08-141-120/+39
|
* core/vm: polish precompile contract code, add tests and benchesPéter Szilágyi2017-08-141-22/+64
| | | | | * Update modexp gas calculation to new version * Fix modexp modulo 0 special case to return zero
* core/vm: add benchmarks for some ops and precompiles (#14641)Martin Holst Swende2017-06-281-0/+242
|
* core/vm, common/math: Add doc about Byte, fix formatMartin Holst Swende2017-06-091-1/+0
|
* core/vm, common/math: Add fast getByte for bigints, improve opByteMartin Holst Swende2017-06-051-0/+43