Török Edvin
7a14dc4ce9
bytecode: prepare for implementing gep.
2009-08-24 13:43:08 +03:00
Török Edvin
72617ba209
bytecode: Implement load/store.
2009-08-24 11:16:36 +03:00
Török Edvin
cf0cd429e9
Implement API calls from bytecode.
2009-08-20 16:33:58 +03:00
Török Edvin
800a79e091
fix make distcheck.
2009-08-18 10:03:36 +03:00
Török Edvin
11e86f8ccb
Add debug facilities to bytecode interpreter.
2009-08-18 10:02:56 +03:00
Török Edvin
6922903ad9
bytecode: fully switch to a stack based allocation, and operands with various bitwidths.
2009-08-17 15:13:29 +03:00
Török Edvin
82ca2ab420
Specialize operands depending on bitwidth.
2009-08-17 15:13:29 +03:00
Török Edvin
ac17fc6cdb
fix SIGBUS on Sparc.
...
Need to use the alignment of the largest possible type that we access, which is
uint64_t in this case.
void* can be 32-bits, and uint64_t still requires 64-bit alignment on Sparc,
when compiling for 32-bits (default).
2009-08-02 14:49:05 +03:00
Török Edvin
cfec3d90ce
bytecode: fix handling of cast and icmp opcodes, improve stack handling.
2009-07-13 19:40:24 +03:00
Török Edvin
ac7c05444e
bytecode: cache allocated memory, improve performance.
2009-07-09 23:59:01 +03:00
Török Edvin
ec5cccc7ef
bytecode: allocate proper stack for functions.
2009-07-09 23:59:01 +03:00
Török Edvin
f3b2dc9e28
Implement ICMP_*.
2009-07-09 23:58:57 +03:00
Török Edvin
8c0933ceab
Implement more opcodes and checking.
2009-07-08 18:13:52 +03:00
Török Edvin
957bf65143
Check number of functions loaded.
2009-07-07 23:53:33 +03:00
Török Edvin
e0c4fd853c
Start implementing bytecode opcodes.
2009-07-07 23:36:36 +03:00