1
0
Fork 0
Commit Graph

2198 Commits

Author SHA1 Message Date
ec- a4cb567e79 vm_x86_ng: fixed aliasing of integer/scalar variables 2021-06-28 16:39:03 +03:00
ec- 0823114818 vm_x86_ng: fixed all previously disabled load optimizations, fixed data range checks without DEBUG_VM in 32-bit mode, corrected value for opStackTop register
vm_x86: corrected value for opStackTop register
2021-06-28 15:09:46 +03:00
ec- ee45395491 vm_86_ng: wipe all meta-variables after writing to dynamic location instead of known (fixed) address 2021-06-27 17:50:04 +03:00
ec- eaae617d4e vm_x86_ng: disabled some load optimizations, sign-extend cached 8/16-bit values, code cleanup 2021-06-27 12:33:02 +03:00
ec- 595ed01a5f vm_x86_ng: disabled 8/16 bit register caching at store operation (for now) as it needs to be zero-extended at next load 2021-06-26 16:34:56 +03:00
ec- aeb9ddcf62 vm_x86_ng: reverted some unsafe load optimizations 2021-06-24 23:50:11 +03:00
ec- 3422f0ccce vm_x86_ng: fixed incorrect opStack pointer passed for syscalls 2021-06-24 17:56:02 +03:00
ec- 9601705641 vm_x86_ng: optimized opStack manipulations, added ability to dump generated code to file 2021-06-24 16:04:50 +03:00
ec- b8b89093f6 QVM: relaxed conditional/unconditional jumps opStack requirements, better local variable reference detection
vm_x86_ng: significally reworked load/store optimizations
2021-06-24 00:29:26 +03:00
ec- 5ec2650e8c QVM: fixed potential metadata corruption in vm_x86_ng, code cleanup 2021-06-22 19:30:43 +03:00
ec- eb4d6b2408 vm_x86_ng: fixed data corruption with enabled rx const cache, enabled rx const cache by default from now
vm_x86_ng: implemented effective and fast jump size reduction optimization, code cleanup
2021-06-21 17:37:03 +03:00
ec- fae459524c Win32: correctly cleanup timer descriptors 2021-06-20 22:18:33 +03:00
ec- dc619a145c QVM: optimize some condition/jump sequences, code cleanup 2021-06-20 17:09:46 +03:00
ec- 1de1918f27 Removed SSE1 code from legacy x86 bytecode compiler and fixed false opStack corruption error 2021-06-18 23:06:50 +03:00
ec- aec0570fc2 Removed debug stuff :P 2021-06-18 00:05:58 +03:00
ec- 9851dd787c QVM: added new x86 bytecode compiler with dynamic register allocation and many optimizations similar to aarch64/armv7l, brings performance increase from 1.5x to 2x
SSE1 instruction set support is required for 32-bit environment (already mandatory in 64-bit), otherwise it will fallback to legacy compiler
2021-06-18 00:02:42 +03:00
ec- f5ebdb0ae7 Updated build.yml 2021-06-04 13:13:35 +03:00
ec- 895dff97e6 Updated Makefile, disabled opengl2 renderer module by default 2021-06-03 13:10:48 +03:00
ec- 7a35b5fbe2 vm_armv7l, vm_aarch64: use explicit argument register selection for ABI-dependent calls
vm_armv7l: potential fix for compatibility with -mfloat-abi=softfp
2021-06-02 16:47:34 +03:00
ec- 8f423a0c14 Updated changelog
Updated build.yml
2021-05-27 21:21:58 +03:00
ec- 994efa8fda Updated Discord link 2021-05-27 20:45:27 +03:00
ec- 85ff5501b7 aarch64 JIT: Fix comparison ops to account for NaN operands
armv7l JIT: Fix comparison ops to account for NaN operands
2021-05-25 22:16:37 +03:00
Eugene C 062ab3c6de
Merge pull request #111 from krsh732/nan-fixes
x86 JIT: Fix comparison ops to account for NaN operands
2021-05-24 21:04:07 +03:00
Krishna Ravishankar 56f03bcaad x86 JIT: Fix comparison ops to account for NaN operands 2021-05-23 15:43:58 -04:00
ec- 790c8b5f30 Fixed sound hang at map load 2021-05-22 18:33:15 +03:00
ec- 99977be751 Sound fixes:
* Use s_soundtime instead of Com_Milliseconds() for sfx management to provide more predictable behavior during video recording
* Use (endtime - s_paintedtime) instead of (endtime - s_soundtime) as mix-ahead range
* Render exactly one sound frame during avi frame capture to prevent sound lag
2021-05-20 21:03:33 +03:00
ec- b7e33b8725 Vulkan: fixed incorrect layout transition during image capture 2021-05-18 21:05:54 +03:00
ec- 1781d0b40f Fixed standalone opengl2 renderer build (duplicated r_displayRefresh symbol)
Makefile: re-enabled dependency files tracking, cleanup
2021-05-17 19:55:40 +03:00
ec- 9a8315ecf3 Cvars: check for INIT/ROM flags before value validation which could lead to misleading warnings, this will also prevent unwanted modification of cvar_modifiedFlag 2021-05-16 12:35:26 +03:00
ec- 0a500c522c QVM: allow registering/updating private cvars for DLL-based mods - because such restrictions is not really effective (for native code), and breaks RocketArena3 mod 2021-05-15 21:31:44 +03:00
Eugene C b186c12582
Merge pull request #110 from KuehnhammerTobias/opengl2_fixed_compilation
Fixed compilation (OpenGL2).
2021-05-15 19:30:02 +03:00
ToKu 25003f3f9f Fixed compilation. 2021-05-15 18:03:01 +02:00
ec- 10e9529c52 Fixed compilation 2021-05-15 16:09:06 +03:00
ec- ae4427ff79 Added support for compiling renderer2 via Makefile
Removed unused ogg vorbis headers/interfaces
2021-05-15 16:02:16 +03:00
ec- 423dcf8391 Vulkan: fixed some broken debug features, indentation 2021-05-10 21:52:33 +03:00
ec- 74e2c3493f Fixed typo from previous commit and some compiler warnings 2021-05-10 12:46:07 +03:00
ec- 1a2a468ee8 Allow override "protocol" cvar from command-line 2021-05-09 21:59:52 +03:00
ec- 065586bd38 Vulkan: added USE_BUFFER_CLEAR definition to forcefully clear color attachments before use
Fixed various compiler warnings
2021-05-09 20:28:29 +03:00
Eugene C 910f6c382c
Merge pull request #107 from q3superman/renderer2
chg: renderer2 extended shader loading .mtr -> .mtrx
2021-05-06 07:22:10 +03:00
q3superman 7f6cf9d416 chg: renderer2 extended shader loading .mtr -> .mtrx 2021-05-06 02:52:02 +02:00
ec- 524cbb3abd Fixed strict-aliasing warnings in md5.c 2021-05-03 14:19:46 +03:00
ec- 168486beac Vulkan: fixed pipelines leak and potential framebuffer corruption, code cleanup 2021-04-30 20:12:24 +03:00
ec- 1e136ffcb8 Vulkan: avoid redundant scissor updates, code cleanup 2021-04-12 22:01:08 +03:00
ec- 78f3eafe90 OpenGL: fixed crash with \snd_restart 2021-04-12 12:19:40 +03:00
ec- 5ba3741f98 Fixed recently broken fog color 2021-04-11 18:08:48 +03:00
ec- 35b5168a80 Github-Actions: enabled windows-mingw builds
Makefile: removed -fno-strict-aliasing option
2021-04-11 17:06:22 +03:00
ec- 2fe57ac408 Resolved strict-aliasing warnings in OpenGL and Vulkan renderers 2021-04-11 14:40:29 +03:00
ec- 0923f61ee9 net_ip: fixed remaining strict-aliasing warnings 2021-04-10 18:00:03 +03:00
ec- 923173122e MSVC-2017: disabled enhanced instructions set for 32-bit builds
SDL: always treat SDL_SCANCODE_GRAVE as console key
2021-04-09 20:24:09 +03:00
ec- 30b58f8da4 SDL: simplified console key detection 2021-04-08 22:18:59 +03:00