Commit Graph

26 Commits

Author SHA1 Message Date
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
Jasmine Iwanek
d1127e68fa Even more sonarlint work 2023-06-04 23:39:14 -04: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
1860700eab Fix some small issues 2023-01-07 17:02:23 -05: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
Jasmine Iwanek
f49d3c7458 Correct many file headers to show 86box 2022-10-27 17:08:58 -04:00
Jasmine Iwanek
4674756664 More newline and whitespace cleanups 2022-02-20 16:26:40 -05:00
Laci bá
17f7fa3437 Merge further fixes to the 32-bit recompiler
Remove mprotect usages in 32-bit x86 dynamic recompiler
2021-10-16 19:43:50 +02: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
David Hrdlička
144b19b941 codegen: fix architecture detection on MSVC 2020-12-17 00:58:37 +01:00
OBattler
1ddee67aa6 Got rid of the last differences between the old and new recompilers with regards to the readmem*/writemem* functions. 2020-12-01 02:41:22 +01:00
OBattler
a5ae4cfba5 Got completely rid of readmemb386l() and writememb386l(). 2020-11-30 05:27:04 +01:00
OBattler
70dd4ba3be Generic MO Device ID changes and implemented the VPCEXT instructions (on the Virtual PC 2007 VM only). 2020-07-25 05:14:06 +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