Commit Graph

12 Commits

Author SHA1 Message Date
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