78 Commits (05952064dc6e8d55bc67af7f7cfa9a47f47f30d1)

Author SHA1 Message Date
Paweł Bylica 05952064dc Use Constant::get() interface to create LLVM constants 10 years ago
Paweł Bylica f9f08d3223 Change the way compiled program returns 10 years ago
Paweł Bylica b56a815d2c Report error if static-analysed stack is too small 10 years ago
Paweł Bylica 3ec44144e5 Change basic block linking order to get better results (still not perfect) 10 years ago
artur-zawlocki 1afcca2d0b Implemented indirect JUMPI and fixes for JUMPs to invalid PCs 10 years ago
Paweł Bylica c0a7d82b21 Always commit cost blocks 10 years ago
Paweł Bylica 48710b5e5c Count gas for additional memory 10 years ago
Paweł Bylica 35605271f1 Fix for finding jumpTableBlock 10 years ago
artur-zawlocki 40e73d035c Indirect jump: jump table generated in separate bblock. 10 years ago
Paweł Bylica 936aeab43c Group gas counting into block of instructions called cost-block. 10 years ago
artur-zawlocki e915379539 Implementing JUMP/JUMPDEST (work in progress) 10 years ago
Paweł Bylica dd3ae798b4 Disable gas checking for now (does not work and makes IR code hard to read) 10 years ago
Paweł Bylica 6c7de9fa0b Cleanup LLVM types usage 10 years ago
Paweł Bylica f8813b2843 Cleanup LLVM types usage 10 years ago
Paweł Bylica 989afa9406 Decrement global gas value by instruction step cost 10 years ago
Paweł Bylica 5e3113e49e Introducing GasMeter 10 years ago
Paweł Bylica 1a4cbdabef EXP instruction. 10 years ago
Paweł Bylica 0ec77d681c Make the Stack an integral part of BasicBlock 10 years ago
Paweł Bylica bec3e0fb36 Cleanup Compiler 10 years ago
Paweł Bylica 40ebe55a20 Provide end instruction to basic block 10 years ago
Paweł Bylica 0cba3d9005 Improve basic blocks linking implementation 10 years ago
Paweł Bylica 0e7ae8ece9 Remove external stack 10 years ago
Paweł Bylica b644ff2d71 Stack cleanups 10 years ago
Paweł Bylica bf7ca5cd01 Cleanups: move basic block linking to separated function 10 years ago
Paweł Bylica d9c1617e60 Correct the order of basic blocks 10 years ago
Paweł Bylica 07659c441a Link basic blocks with phi functions 10 years ago
Paweł Bylica 5bf462e03d Introducing BasicBlock class. 10 years ago
Paweł Bylica 3fa3bc8b30 Pop entry state of basic block from external stack, push exit state to external stack. 10 years ago
Paweł Bylica 1bd7ade08b Basic stack implementation for basic block. Values on stack are not preserved between basic blocks (jumps) 10 years ago
Paweł Bylica fe38de867e SHA3 instruction 10 years ago
Paweł Bylica 1835251b52 SUICIDE instruction 10 years ago
Paweł Bylica a33863d931 CALL instruction. Still needs gas counting and callback support. 10 years ago
Paweł Bylica cdebe9f9f7 CREATE instruction. Still needs some work with ExtVM interface. 10 years ago
artur-zawlocki f34340d4c1 - fixes for RETURN and STOP 10 years ago
Paweł Bylica 24a99ef798 Runtime class that inits and keeps stack, memory and ExtVM interface 10 years ago
Paweł Bylica b39692ba72 BYTE instruction implementation (with bug on BYTE 0) 10 years ago
Paweł Bylica b92c8a6c10 TODO: implement BYTE 10 years ago
Paweł Bylica 7c46d7946c Bitwise operators: AND, OR, XOR 10 years ago
Paweł Bylica 397763be63 PC instructions 10 years ago
Paweł Bylica 9479a70b00 Block Information instructions: PREVHASH, COINBASE, TIMESTAMP, NUMBER, DIFFICULTY, GASLIMIT 10 years ago
artur-zawlocki 8df1050fcb - implemented LT, GT 10 years ago
Paweł Bylica e5ff13180c BALANCE 10 years ago
artur-zawlocki 01cc09a279 fixed implementation of NOT 10 years ago
artur-zawlocki d843ec660a fixes for JUMP/JUMPI (generating final basic block) 10 years ago
artur-zawlocki 0d283dfa7c fixed implementation of JUMPI (cond casted to bool) 10 years ago
artur-zawlocki d11127c94d Added Module* constructor argument to Memory and Ext. 10 years ago
artur-zawlocki ca49fe4897 initial implementation of JUMP/JUMPI (untested) 10 years ago
Paweł Bylica f6759913e4 Print returned memory to standard output 10 years ago
Paweł Bylica f41550077a Implementing RETURN and STOP instructions 10 years ago
artur-zawlocki 638bb9390c Implemented MLOAD, MSTORE, MSTORE8 and MSIZE 10 years ago