Magnus Norddahl
|
b159b5667a
|
- fix 8 and 16 bit store
|
2018-08-18 18:21:52 +02:00 |
|
Magnus Norddahl
|
e557e8fac0
|
- destroy the jit runtime when all script functions are destroyed
|
2018-08-18 17:50:47 +02:00 |
|
Magnus Norddahl
|
9d68d43ce7
|
- disable all unimplemented opcodes in the switch to ensure 'Unknown VM opcode' fatal error is generated if CanJit has a bug
|
2018-08-18 13:18:52 +02:00 |
|
Magnus Norddahl
|
68b2cd58d8
|
Fix compile errors on macOS
|
2018-08-18 12:37:33 +02:00 |
|
Jonathan Russell
|
6a40e092fe
|
- added remaining int arithmetic opcodes (and fixed float loading offset issue)
|
2018-08-17 22:06:12 +01:00 |
|
Jonathan Russell
|
758ee5cbfb
|
- forgot to turn off debug switch in last commit
|
2018-08-17 19:15:27 +01:00 |
|
Jonathan Russell
|
08c0ac541f
|
- made absMaskInt const
|
2018-08-17 19:14:31 +01:00 |
|
Jonathan Russell
|
d137b3c94e
|
- implemented CMP_APPROX for OP_EQF_*, making ~== work for doubles
|
2018-08-17 19:08:19 +01:00 |
|
Chronos Ouroboros
|
079391e5ac
|
Updated CanJit's supported opcodes list.
|
2018-08-16 21:45:04 +02:00 |
|
Chronos Ouroboros
|
a8ce626708
|
Pointer addition opcodes must leave NULL pointers as they are.
|
2018-08-16 21:45:04 +02:00 |
|
Chronos Ouroboros
|
591783087d
|
Changed binary int ops to use a temporary register, fixed some opcodes.
For some reason, binary ops might reuse one of the input registers as the output register.
This is a problem for very obvious reasons.
|
2018-08-14 20:08:04 -03:00 |
|
Jonathan Russell
|
dc03cb7a80
|
- made CMP_CHECK checking compile time
|
2018-08-14 20:50:32 +01:00 |
|
Jonathan Russell
|
740415246e
|
- added exact floating point comparison opcodes
|
2018-08-14 18:32:17 +01:00 |
|
Jonathan Russell
|
167693f102
|
- implemented all integer comparison operators
|
2018-08-14 15:07:09 +01:00 |
|
Jonathan Russell
|
b30df47499
|
- adds OP_EQ_R, the first instruction using jumps
|
2018-08-14 13:02:56 +01:00 |
|
Magnus Norddahl
|
0ced612d2c
|
- add misc float opcodes
|
2018-08-14 01:07:30 +02:00 |
|
Jonathan Russell
|
cdb5a9d91e
|
- added most vector maths opcodes
|
2018-08-13 21:36:55 +01:00 |
|
Chronos Ouroboros
|
cb28bbc72e
|
Fix floats and implement some more opcodes.
|
2018-08-13 13:07:36 -03:00 |
|
Magnus Norddahl
|
83d769f55c
|
- copy initial register values from the VM frame
|
2018-08-13 00:15:42 +02:00 |
|
Magnus Norddahl
|
7108fd6228
|
- implement most of the integer math opcodes
|
2018-08-12 04:34:57 +02:00 |
|
Magnus Norddahl
|
cbb945d8a7
|
- embed and use asmjit to JIT ZScript VM functions
|
2018-08-12 02:11:13 +02:00 |
|