Magnus Norddahl
3477b22714
- more load fixes
2018-09-15 18:08:01 +02:00
Magnus Norddahl
4364feea9a
- fix truncated load addresses due to a bug in asmjit
...
- change ToMemAddress to use uint64_t
2018-09-15 15:38:16 +02:00
Magnus Norddahl
06b54d3aaa
- avoid certain x86::ptr overloads as the last argument is not always an offset
2018-09-15 15:05:52 +02:00
Magnus Norddahl
c505e4eb79
Merge pull request #575 from Gutawer/asmjit
...
Implemented SS_R, LCS_R, and LKS_R
2018-09-15 13:09:07 +02:00
Jonathan Russell
407418a92e
- fixed typo in last commit
2018-09-15 00:26:14 +01:00
Jonathan Russell
b83f4f48d6
- implemented SS_R, LCS_R, and LKS_R
2018-09-15 00:25:13 +01:00
Magnus Norddahl
ce9925d257
- fix bug in LKF_R
2018-09-15 01:06:48 +02:00
Magnus Norddahl
7e7bce4965
- fixed OP_VTBL bug
2018-09-15 00:28:34 +02:00
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
Magnus Norddahl
2ea97bac6d
Merge pull request #571 from Gutawer/asmjit
...
Added OP_MOVES, OP_CONCAT, OP_LENS, OP_CMPS
2018-09-14 00:50:50 +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
Magnus Norddahl
567a069df5
Merge pull request #569 from Gutawer/asmjit
...
Added strings and a few string opcodes
2018-09-13 00:58:44 +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
Magnus Norddahl
5fab45d275
Merge pull request #568 from Gutawer/asmjit
...
Changed the way EmitComparisonOpcode works to get rid of the temporary register that was used previously
2018-09-11 23:08:36 +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
Christoph Oelckers
2d53ad6f10
- fixed misplaced parenthesis.
2018-09-09 19:18:22 +02:00
Christoph Oelckers
1eb1d8d280
- fixed math imprecisions in horizon vertex generation.
...
Floats are not precise enough to be used as a loop counter.
2018-09-09 08:57:50 +02:00
Christoph Oelckers
1c3d4b46c6
- fixed the use of Doom-Legacy-style 3D floor lighting in light mode 8.
...
Legacy used some strange blending formula to calculate its colormaps for colored 3D floor lighting, this is not available in the software lighting mode, so for these the engine has to temporarily revert to light mode 2 to render them correctly.
2018-09-08 13:08:04 +02:00
Christoph Oelckers
3dcaa509ef
Merge branch 'master' of https://github.com/coelckers/gzdoom
2018-09-08 12:10:34 +02:00
Christoph Oelckers
dd971805af
- fixed: The viewpoint buffer was mapped write only but read from. On old hardware it wasn't even mapped.
...
Changed to cache the needed value in a CPU-side array so that the buffer access is not needed.
2018-09-08 10:16:31 +02:00
Christoph Oelckers
8b26b6dd1e
- reworked fog uniforms to move the global fog mode setting to the viewpoint buffer.
2018-09-06 19:14:30 +02:00
alexey.lysiuk
0e6af71376
- improved SDL_GetWindowBordersSize() pointer loading
...
https://forum.zdoom.org/viewtopic.php?t=61913
2018-09-04 18:19:01 +03:00
Christoph Oelckers
7cbc98e1d0
- fixed incorrect trigger types in compatibility setter.
...
These were caused by some bogus comment in the original compatibility.txt which erroneously added a "SPAC_PCross" remark to a line which actually set "SPAC_Cross".
2018-09-03 23:06:32 +02:00
Magnus Norddahl
773907d81e
Merge pull request #563 from Gutawer/asmjit
...
Add vector comparison opcodes
2018-09-03 00:48:24 +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
f007473a9f
- fixed memory leak with wipes set to pff.
...
In this case the start screen's texture wasn't destroyed.
2018-09-02 21:13:58 +02:00
Christoph Oelckers
22e8c57a59
- reset the viewpoint buffer only once per scene, not per viewpoint.
...
This doesn't work for camera textures because they are a separate viewpoint.
2018-09-02 20:05:36 +02:00
Christoph Oelckers
5e39890118
- use a uniform buffer for per-scene data like rotation matrices.
2018-09-02 18:40:36 +02: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
alexey.lysiuk
207988bb1b
- fixed crash when wipe type is set to none
2018-09-02 15:15:38 +03:00