OBattler
79134f3b21
Assorted Cyrix (and Codegen opcode Mod R/M passing table) fixes - fixes Windows 98 SE on Cyrix 6x86's with power management enabled.
2025-03-17 03:40:52 +01:00
Jasmine Iwanek
5f273265ae
Assorted warning fixes
2025-02-02 03:24:50 -05:00
RichardG867
1e052e5dc0
Use plat_mmap on the dynarecs as well
2024-11-20 11:23:24 -03:00
OBattler
fb1a4677c6
More NetBSD fixes.
2024-11-20 01:42:32 +01:00
OBattler
2273f563a5
Moved the offending SoftFloat-related stuff to x87_sf.h, fixes warnings.
2024-06-10 00:08:48 +02:00
Jasmine Iwanek
c4bb670901
More linting in src/codegen
2023-08-23 04:15:59 -04:00
OBattler
1d48363803
The 286/386 interpreter now has its own variant of x86seg.c.
2023-08-21 02:56:33 +02:00
OBattler
3555dacec3
Disable MMX and 3DNow! recompilation when SoftFloat is in use.
2023-07-16 03:45:14 +02:00
OBattler
c76e8ff06c
Replaced the codegen_ops_NULL table references with NULL pointers, as it has the same effect without requiring an extra table of opcodes, also made the new recompiler clear codegen_flags_changed after every interpreted instruction to prevent conditional jumps from occasionally taking the wrong turn (fixes CL-GD 54x6 driver glitches in 24bpp mode on Windows 98 SE), and added instruction length heuristics on fetching the instruction, fixes Jane's US Navy Fighters.
2023-06-09 14:55:13 +02:00
OBattler
a9cc8cf898
Made softfloat work on the dynamic recompiler (not yet enabled in the Settings dialog, needs MMX and FXSAVE/FXRSTOR for softfloat first).
2023-05-07 00:24:57 +02:00
Jasmine Iwanek
537fbad564
More bits of missed formatting
2022-12-20 19:33:42 -05:00
Jasmine Iwanek
9e77acf655
clang format in codegen & codegen_new
2022-11-19 11:53:09 -05:00
OBattler
27ebb27db7
Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness.
2022-11-17 22:44:06 +01:00
OBattler
bff5026b8b
One last attempt at a fix to my own GPF handler.
2022-10-27 04:10:16 +02:00
OBattler
4dc74515e8
Returned back to the PCem GPF handler.
2022-10-27 03:56:26 +02:00
OBattler
47604db6b1
Changed GPF handled on the 64-bit old recompiler.
2022-10-27 03:24:02 +02:00
Cacodemon345
c1f9d35de8
qt: Add support for Haiku
...
* OpenAL backend is enabled by default on Haiku
* bswap include now makes use of builtins if they exist
* Use a local fgetws method for Haiku to avoid crashes
* OpenGL renderers are completely disabled on Haiku (they do not work)
* Software renderer is a widget, not a window on Haiku (fixes blank screen)
* Add option to disable System MIDI at compile time
2022-03-11 12:13:08 +06:00
Jasmine Iwanek
4674756664
More newline and whitespace cleanups
2022-02-20 16:26:40 -05:00
Cacodemon345
2da187c0bd
Fix plat_mmap on FreeBSD ( #1980 )
...
* Fix plat_mmap on FreeBSD
* Same for old codegen backend
* ...and for new codegen backend
2022-01-07 09:58:59 +01:00
Laci bá
8b5e39ceed
Merge dynarec fixes from Cacodemon345's branch
...
Get rid of mprotect call entirely on x64 dynamic recompiler
Use mmap whenever possible on old dynamic recompiler
2021-10-16 18:38:32 +02:00
Cacodemon345
a903e24702
Fix remaining warnings
2021-08-29 23:50:21 +06:00
David Hrdlička
144b19b941
codegen: fix architecture detection on MSVC
2020-12-17 00:58:37 +01:00
David Hrdlička
fd554cbcbc
fix WIN64 checks to _WIN64
2020-12-16 20:29:46 +01:00
OBattler
d489317573
VPCEXT instructions now get fetchdat also on x64 old recompiler and on new recompiler.
2020-07-25 05:16:06 +02:00
OBattler
4cd95df959
Another 64-bit old recompiler change.
2020-07-16 01:39:55 +02:00
OBattler
0b4b2b4d2f
A number of recompiler fixes and put some of the timer/cycle-related changes behind #ifdef's as they are no longer used but someone may want to still try them out.
2020-07-15 18:30:27 +02:00
OBattler
ec74ffb6a5
Old recompiler improvements: limited in-block IRQ checking to floppy IRQ's only, rewrote the GPF handlers in ASM, and changed the recompiled INC and DEC instructions to actually use INC and DEC on host. Also removed the keyboard_at.c timer hack.
2020-07-15 05:03:19 +02:00
OBattler
a862bda04c
Rewrote the recompiler interrupt checking in assembly (and removed it for the new dynamic compiler because the requires uops are not present), brings performance back up, and also did a number of CPU-related clean-ups (mostly removal of dead variables and associated code).
2020-07-13 19:46:19 +02:00
OBattler
0cd0d83cee
Both recompilers now check for interrupt after every instruction and exit the block if one has happened.
2020-07-13 01:23:40 +02:00
OBattler
395537070b
Renamed the three CPU folders to their final names.
2020-06-13 10:53:11 +02:00