Commit Graph

851 Commits

Author SHA1 Message Date
OBattler
561a7171c3 NEC Vx0: Rename the logging functions. 2026-01-30 08:58:48 +01:00
OBattler
e8eb606510 Some improvements on said debug thunking to old 808x instructions. 2026-01-30 07:59:24 +01:00
OBattler
d1d3941542 NEC Vx0: Swap the two operands in CMPSB/CMPSW, fixes #6764.
Also do some refactoring to make thinking back to old 808x instructions easier for debugging purposes.
2026-01-30 04:03:20 +01:00
fleur!3
bd13b21cd1 Update the CPU names to be P5 and P54C instead of Socket 4 and 5/7 2026-01-28 20:54:34 +00:00
fleur!3
3bcf6a75e5 Update Pentium CPU table names for Socket 4 and 5/7 2026-01-28 20:44:13 +00:00
OBattler
43aa0db755 Vx0: Rename wait() to wait_vx0() in order to fix warnings on Mac. 2026-01-28 09:50:18 +01:00
OBattler
4e44ec7abc And another multiple define. 2026-01-28 09:31:29 +01:00
OBattler
5a189d49c3 808x and Vx0: Fix the remaining multiple definitions. 2026-01-28 09:14:05 +01:00
OBattler
72ea51332d Use the 808x rewrite from the 808x_rewrite branch as the NEC Vx0 rewrite, as it's good enough for that (it even approximates the NEC Vx0 timings unlike what was there before which did not even remotely attempt to). 2026-01-28 08:45:05 +01:00
OBattler
89eff9b33f CPU: 40 MHz bus speed means 20 MHz PCI speed, per real hardware report by Efflixi. 2026-01-20 16:22:04 +01:00
OBattler
b857e809bf The actual code changes. 2026-01-10 02:25:25 +01:00
starfrost013
7860e06f8a Remove all non-library _MSC_VER checks 2025-12-22 22:36:15 +00:00
OBattler
54322a7ece Revert RichardG's recompiler changes from build 8136 due to too many regressions, a way to bring them back with fewer regressions will be looked into for 6.0. 2025-12-17 19:12:56 +01:00
snow flurry
ca9eb9acb9 CPU: Restrict allowed opcodes in INC/DEC Grp4
Only FE /0 (INC r/m8) and FE /1 (DEC r/m8) are valid instructions in
INC/DEC Grp 4. All other ModR/M opcode bits are reserved and should
throw #UD.
2025-12-14 15:49:20 -08:00
RichardG867
d2c30ea6c6 Dynarec: Rework page interpreter override method, should fix "deleting deleted block" fatals 2025-12-13 18:06:51 -03:00
RichardG867
cf78e44d34 Dynarec: Remove excess logging [skip ci] 2025-12-13 16:47:41 -03:00
RichardG867
791daafceb Dynarec: Force interpreter on pages that undergo excessive invalidation, improves % on TES Daggerfall and potentially other self-modifying code 2025-12-13 16:45:04 -03:00
OBattler
3feb0f135d Add toolbar button and Action menu item to toggle forcing the recompiler to interpret blocks, should help with some slowdowns (tested to help with Daggerfall on both recompilers and Legend of Hero III on new recompiler). 2025-12-05 14:18:17 +01:00
OBattler
ec1271fd5b CPU: Fix the Cyrix 6x86 check ijn cpu_set(). 2025-11-08 03:34:28 +01:00
Cacodemon345
93d478691f Second take on fixing ARM64 MMX opcodes 2025-11-04 17:22:50 +06:00
Cacodemon345
75b1a94929 Fix dirty block checking on NDR for byte-masked blocks 2025-11-04 00:28:56 +06:00
Cacodemon345
41ecd0bc62 Mark stack-related functions in x86seg inline (#6281) 2025-10-05 18:22:12 +02:00
OBattler
4af766092f Also add the 600 MHz overclocked version of the 570 MHz. 2025-10-01 19:14:50 +02:00
OBattler
5d194d8e80 Added AMD K6_2 570 MHz. 2025-10-01 18:36:00 +02:00
RichardG867
7c25ca22e3 Convert existing code to the integer casting macros 2025-09-19 20:09:29 -03:00
RichardG867
4b8b0efa48 Optimize a couple CPU block checks 2025-09-19 18:45:35 -03:00
starfrost013
a44ad7e776 Remove 32-bit core dynarec 2025-09-14 15:50:01 +01:00
starfrost013
02b0960148 A few minor further i386 removals 2025-09-14 11:01:34 +01:00
starfrost013
57ae731e22 Goodbye, 32-bit 2025-09-14 01:32:41 +01:00
OBattler
5a2f9eacbf And another fix. 2025-09-02 16:46:12 +02:00
OBattler
c5be7e9261 More fixed and disabled the wait states selection on 386DX. 2025-09-02 16:45:01 +02:00
OBattler
b825aed242 386DX: Fix cache defaults to be the equivalent of 0 wait states. 2025-09-02 16:41:30 +02:00
OBattler
766734eb3a 386DX: Force external cache enabled to improve performance. 2025-09-02 16:36:41 +02:00
OBattler
95e98b1b20 Added the two Silicon Valley machiens and fixes 386 FPU flag on reset. 2025-08-14 16:29:09 +02:00
Jasmine Iwanek
a96146742e Fix another warn in 808x.c 2025-07-28 01:52:40 -04:00
Jasmine Iwanek
6d6d5931bf Fix several codeql warns 2025-07-27 20:59:55 -04:00
Cacodemon345
916533499a Add 10ms interval option (not exposed yet to UI)
Fix percentage counter
2025-07-09 12:59:16 +06:00
Cacodemon345
ddea070faa Fix cycle period of dynarec 2025-07-08 16:51:53 +06:00
OBattler
773ebf6254 Fix V20/V30 CPU speeds. 2025-07-08 05:59:04 +02:00
OBattler
42c0077703 808x: Suspend trap for 1 instruction after POPF and do not do it after IRET. 2025-07-08 05:21:44 +02:00
OBattler
a2354599c6 Vx0: Always resume from interrupt on HLT, even if I_FLAG is not set. 2025-07-08 05:08:23 +02:00
OBattler
4a468246cc 808x: Rename wait() to wait_cycs() to avoid conflict with the Apple SDK. 2025-06-30 00:52:00 +02:00
OBattler
ad5aa6e52f Attempt to undefine wait to avoid the conflicts on Mac. 2025-06-30 00:18:59 +02:00
OBattler
e601f25805 x87: Fix the rounding_modes warnings. 2025-06-30 00:17:33 +02:00
Cacodemon345
b44042ef1c x86-specific FADD (SSE2 version) 2025-06-30 02:08:48 +06:00
Cacodemon345
96734590ca x86-specific FADD implementation 2025-06-30 01:10:58 +06:00
Jasmine Iwanek
026f765495 Some codeql fixes 2025-06-29 00:12:06 -04:00
Jasmine Iwanek
3a26b9d46b Many warning fixes 2025-06-28 23:54:07 -04:00
OBattler
25f0a26ea1 Vastly improve the ALi M1409 emulation (all of shadow RAM now work, as does bus speed and external cache setting), and fix the "Writing unimplemented Cyrix register FF" error as well. 2025-05-29 09:45:49 +02:00
OBattler
b3147ee473 LOCK instruction: ensure it is always illegal on opcodes 90h and ECh. 2025-05-18 02:20:18 +02:00