Magnus Norddahl
|
266f838de7
|
- fix crash in OP_RET handling
|
2018-09-15 00:12:12 +02:00 |
|
Magnus Norddahl
|
663e61a4fb
|
- simplify some code
|
2018-09-14 23:38:57 +02:00 |
|
Magnus Norddahl
|
90d8d4af24
|
Merge pull request #573 from Gutawer/asmjit
Added string PARAM and RET
|
2018-09-14 20:07:47 +02:00 |
|
Jonathan Russell
|
11fbd9a0a4
|
- added string PARAM and RET
|
2018-09-14 18:20:31 +01:00 |
|
Magnus Norddahl
|
4e85134d8e
|
Merge remote-tracking branch 'gzdoom/master' into asmjit
|
2018-09-14 02:09:17 +02:00 |
|
Magnus Norddahl
|
d09a377f12
|
- fix clang errors and warnings
|
2018-09-14 01:07:05 +02:00 |
|
Jonathan Russell
|
0b6c514067
|
- added OP_MOVES, OP_CONCAT, OP_LENS, OP_CMPS
|
2018-09-13 20:31:06 +01:00 |
|
Magnus Norddahl
|
c359601737
|
- fix opcodes not being listed in jit debug assembly
|
2018-09-13 19:03:30 +02:00 |
|
Magnus Norddahl
|
b92e5fbf2a
|
- move EmitRESULT to jit_call
|
2018-09-13 02:56:02 +02:00 |
|
Magnus Norddahl
|
fad8c9c7b4
|
- minor cleanups in header file
|
2018-09-13 02:38:51 +02:00 |
|
Magnus Norddahl
|
ef170883ef
|
- split JitCompiler into multiple files
|
2018-09-13 02:29:04 +02:00 |
|
Jonathan Russell
|
b8bdc3b4c8
|
- added strings and a few string opcodes
|
2018-09-12 23:56:04 +01:00 |
|
Magnus Norddahl
|
afc3c6b562
|
- fix CALL_K and disable CALL
|
2018-09-12 21:58:31 +02:00 |
|
Magnus Norddahl
|
ced793b791
|
- implement OP_CALL and OP_CALL_K
|
2018-09-12 01:37:30 +02:00 |
|
Magnus Norddahl
|
981950fef0
|
- fix misc integer opcodes and remove mov statements when they have no effect
|
2018-09-11 23:31:32 +02:00 |
|
Jonathan Russell
|
4d3c496121
|
- changed the way EmitComparisonOpcode works to get rid of the temporary register that was used previously
|
2018-09-11 21:48:02 +01:00 |
|
Magnus Norddahl
|
4d1cb258d6
|
- implement PARAM and PARAMI
|
2018-09-11 17:08:51 +02:00 |
|
Magnus Norddahl
|
6f55c76f05
|
- fix missing zero extend
|
2018-09-09 23:21:47 +02:00 |
|
Magnus Norddahl
|
4076ce791b
|
- fix that the code for META and CLSS was swapped
|
2018-09-09 22:42:59 +02:00 |
|
Magnus Norddahl
|
19442732d4
|
- some jump fixes
|
2018-09-09 22:03:57 +02:00 |
|
Magnus Norddahl
|
b40cbfb22e
|
- fix jump direction in EmitComparisonOpcode
|
2018-09-09 20:35:37 +02:00 |
|
Jonathan Russell
|
eeb4419bc4
|
- more spelling mistakes...
|
2018-09-02 23:47:22 +01:00 |
|
Jonathan Russell
|
fdf17a5d8e
|
- fix minor spelling error
|
2018-09-02 23:45:32 +01:00 |
|
Jonathan Russell
|
28f2311108
|
- add vector comparison opcodes
|
2018-09-02 23:44:25 +01:00 |
|
Christoph Oelckers
|
4571aa52f0
|
- fixed bad code for OP_SRL_KR.
|
2018-09-02 18:20:38 +02:00 |
|
Magnus Norddahl
|
168c274601
|
- remove some macros and add functions checking if a register needs to be copied
|
2018-09-02 15:36:39 +02:00 |
|
Magnus Norddahl
|
323d290c99
|
- implemented LBIT, SBIT, VTBL, SCOPE, NEW, NEW_K, THROW, EQA_R and EQA_K
|
2018-09-02 03:39:02 +02:00 |
|
Magnus Norddahl
|
ccd2f58fb4
|
- implement emitter functions for LKP_R, META, CLSS, LO, LO_R, LP, LP_R, SO, SO_R, SP, SP_R
- add emit code for throwing exceptions on null pointers
|
2018-08-31 06:57:30 +02:00 |
|
Magnus Norddahl
|
999b3833ff
|
- improve jit debug output slightly
|
2018-08-30 19:55:00 +02:00 |
|
Magnus Norddahl
|
bba422ffcc
|
- fix offsetting bug when loading address registers
|
2018-08-30 19:47:38 +02:00 |
|
Magnus Norddahl
|
c7e14e63bc
|
- fix swapped operands in EmitSUBF_KR
|
2018-08-30 18:47:25 +02:00 |
|
Magnus Norddahl
|
4b22fa7bc8
|
- implement MODF_RR, MODF_RK and MODF_KR
|
2018-08-29 01:27:37 +02:00 |
|
Magnus Norddahl
|
a5719e73eb
|
- fix mul using wrong instruction
|
2018-08-29 01:07:36 +02:00 |
|
Magnus Norddahl
|
25e7042bc5
|
- implement BOUND opcodes and add logging the resulting assembly code if asmjit throws an exception
|
2018-08-26 14:27:46 +02:00 |
|
Magnus Norddahl
|
7b886cc434
|
- implement a few more opcodes and fix some bugs
|
2018-08-25 13:38:45 +02:00 |
|
Magnus Norddahl
|
f84028eeae
|
- implemented pow, min, max
|
2018-08-24 23:17:35 +02:00 |
|
Magnus Norddahl
|
17813e4b3e
|
- implement ATAN2 and FLOP
|
2018-08-20 01:40:37 +02:00 |
|
Magnus Norddahl
|
38fa25d0c5
|
- implement DYNCAST*, TEST, TESTN and JMP opcodes
|
2018-08-20 00:44:48 +02:00 |
|
Magnus Norddahl
|
302d753d17
|
- convert JitCompile's switch into a class to enable easier code reuse
|
2018-08-19 01:46:56 +02:00 |
|
Magnus Norddahl
|
c17be9eb21
|
- fix clang compile error
|
2018-08-18 22:46:18 +02:00 |
|
Magnus Norddahl
|
3453f05f06
|
- implement throwing by storing exception information in a struct, then return from the jitted function and throw from c++
|
2018-08-18 22:41:18 +02:00 |
|
Jonathan Russell
|
d983ae66c7
|
- removed the ability to use printf-like formatting in emitAbortExceptionCall, it barely worked
|
2018-08-18 20:37:55 +01:00 |
|
Jonathan Russell
|
6424190cbf
|
- add first draft of abort exceptions
|
2018-08-18 18:03:18 +01:00 |
|
Magnus Norddahl
|
c89d8bb9bb
|
- call play sqrt when calculating lengths
|
2018-08-18 18:41:35 +02:00 |
|
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 |
|