Commit Graph

32 Commits

Author SHA1 Message Date
OBattler
87ee489f7d And now for the new recompiler. 2021-04-30 19:30:35 +02:00
OBattler
fbe2537ddd Undid the loop unrolling disable in the new recompiler. 2021-04-29 22:14:34 +02:00
qeeg
38d9724c81 Disable loop unrolling in the new dynarec. MASSIVE performance gains in XP, while negligible impact on DOS 6.22 2021-03-29 16:23:45 -05:00
David Hrdlička
96eb8d806e Add copyright headers 2021-01-12 18:26:18 +01:00
David Hrdlička
11b6604196 Add CMake build files 2021-01-12 18:22:40 +01:00
David Hrdlička
a90d03a45d codegen: fix ARM linkage 2020-12-17 12:06:36 +01:00
David Hrdlička
34422d27dd codegen: don't use inline asm on MSVC/ARM 2020-12-17 12:06:31 +01:00
David Hrdlička
251dc45048 codegen: replace asm block with an intrinsic 2020-12-17 01:24:39 +01:00
David Hrdlička
144b19b941 codegen: fix architecture detection on MSVC 2020-12-17 00:58:37 +01:00
David Hrdlička
53144ed8ec fix target architecture checks 2020-12-16 20:32:56 +01:00
David Hrdlička
fd554cbcbc fix WIN64 checks to _WIN64 2020-12-16 20:29:46 +01:00
OBattler
1d4988221f Fixed SYSENTER, SYSEXIT, SYSCALL, and SYSRET;
SYSCALL and SYSRET are now perfectly in line with AMD's specification;
Improvements to the API call to gracefully stop the emulator.
2020-11-16 17:47:05 +01:00
OBattler
0faf6692c9 WARNING: CONFIGS MIGHT PARTIALLY BREAK WHERE DEVICE NAMES HAVE CHANGED.
Changes to device_t struct to accomodate the upcoming PCI IRQ arbitration rewrite;
Added device.c/h API to obtain name from the device_t struct;
Significant changes to win/win_settings.c to clean up the code a bit and fix bugs;
Ported all the CPU and AudioPCI commits from PCem;
Added an API call to allow ACPI soft power off to gracefully stop the emulator;
Removed the Siemens PCD-2L from the Dev branch because it now works;
Removed the Socket 5 HP Vectra from the Dev branch because it now works;
Fixed the Compaq Presario and the Micronics Spitfire;
Give the IBM PC330 its own list of 486 CPU so it can have DX2's with CPUID 0x470;
SMM fixes;
Rewrote the SYSENTER, SYSEXIT, SYSCALL, and SYSRET instructions;
Changed IDE reset period to match the specification, fixes #929;
The keyboard input and output ports are now forced in front of the queue when read, fixes a number of bugs, including the AMI Apollo hanging on soft reset;
Added the Intel AN430TX but Dev branched because it does not work;
The network code no longer drops packets if the emulated network card has failed to receive them (eg. when the buffer is full);
Changes to PCI card adding and renamed some PCI slot types, also added proper AGP bridge slot types;
USB UHCI emulation is no longer a stub (still doesn't fully work, but at least Windows XP chk with Debug no longer ASSERT's on it);
Fixed NVR on the the SMC FDC37C932QF and APM variants;
A number of fixes to Intel 4x0 chipsets, including fixing every register of the 440LX and 440EX;
Some ACPI changes.
2020-11-16 00:01:21 +01:00
Alexander Babikov
53bb559446 Fix compilation warnings. 2020-11-14 05:46:57 +05:00
qeeg
a268715893 Micro-optimizations for the AND and OR opcodes in the new dynarec 2020-09-06 23:33:05 -05: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
eba7d798a0 Merged the two copies of x86seg.c, finishing the mergers started in February. 2020-07-22 17:46:43 +02:00
OBattler
1ff36987a2 Merged the two copies of x86_ops_shift.h. 2020-07-22 16:45:46 +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
10e16249fd Merged the two copies of x86_ops_call.h. 2020-07-15 03:37:44 +02:00
OBattler
39726915d3 Merged the two versions of x86_flags.h into one. 2020-07-15 03:22:28 +02:00
OBattler
63975d636b New recompiler fixes: fixed cycle accumulation and a division by zero. 2020-07-13 22:18:21 +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
099fd2fc34 Properly fixed update_tsc(). 2020-07-12 23:51:56 +02:00
OBattler
38828bdc3b TSC update cycle fixes. 2020-07-12 21:05:46 +02:00
OBattler
be9d369a91 A number of bugfixes. 2020-07-12 20:20:06 +02:00
OBattler
2788ea59bf Hopefully fixed compilation of the new recompiler. 2020-07-12 20:14:25 +02:00
OBattler
974a7ae4f1 Fixed cycles accumulation in update_tsc() when cache is enabled (and the actual recompiler kicks in), and also fixed a warning in the 82091AA code. 2020-07-12 20:01:16 +02:00
David Hrdlička
82f2b203c5 More MSVC build fixes
Ported an inline assembler snippet in x86 new dynarec to MSVC "__asm" syntax.
2020-07-06 21:03:55 +02:00
OBattler
4e48943ad5 Moved the recompiler timings to cpu/ because they are common to both recompilers and fixed a bug in the common timings header file. 2020-06-13 11:12:28 +02:00
OBattler
60ba71cb4b Renamed the three CPU folders to their final names. 2020-06-13 10:54:05 +02:00