Commit Graph

556 Commits

Author SHA1 Message Date
OBattler
3796eb8163 Moved an #endif in cpu/386_ops.h to the correct place. 2023-08-08 21:14:34 +02:00
OBattler
ad672054ec Some missing extern's in cpu/x86_ops.h. 2023-08-08 21:10:56 +02:00
OBattler
06998e4278 Corrected some 286/386 interpreter opcode table assignments in cpu/cpu.c. 2023-08-08 21:04:49 +02:00
OBattler
7e98ff301e And missing #ifndef's in CMOV. 2023-08-08 21:02:49 +02:00
OBattler
480d663d19 Missing void's. 2023-08-08 21:01:01 +02:00
OBattler
b1c5cbaf47 Split the 286/386 interpreter away from the 486+ one (the 286/386 interpreter does not use the pccache's, readlookup's, and writelookup's as the emulated CPU's are too slow for them to be required, and also has more accurate FPU timings), also added a LPT status read function for future-proofing. 2023-08-08 19:39:52 +02:00
OBattler
ce5e21f870 More warning and compile fixes. 2023-08-08 15:38:40 +02:00
OBattler
fe1d9b4f8f And another. 2023-08-07 03:41:06 +02:00
OBattler
73cba3f7ea Removed an excess comment in cpu/cpu.h. 2023-08-07 03:39:32 +02:00
OBattler
8a1cbbcba1 Implemented the P6 model-specific register 1D9h (DEBUG_CTL), needed by Netware 6.0. 2023-08-07 03:29:10 +02:00
OBattler
4d5fb6e7cc Include cpu/softfloat/softfloat-specialize.h from cpu/x87_ops.h, should hopefully fix compilaton with LLVM. 2023-07-27 02:43:15 +02:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
54c52fb55c Fix several instances of uninitialized variables. 2023-07-21 13:46:08 -04:00
OBattler
d3086d6c5e Fixed a mistake in src/cpu/808x/CMakeLists.txt. 2023-07-16 04:29:13 +02:00
OBattler
d066893330 A forgotten file. 2023-07-16 04:09:45 +02:00
OBattler
1d59351c03 Some MMX optimizations. 2023-07-16 03:43:54 +02:00
OBattler
e47e1b62c8 Part 4. 2023-07-16 03:28:37 +02:00
OBattler
dd38a5a15f Part 3. 2023-07-16 03:22:04 +02:00
OBattler
8b4a2a6ecc Part 2. 2023-07-16 03:01:11 +02:00
OBattler
21e20f1ea2 MMX clean-ups, part 1. 2023-07-16 02:24:36 +02:00
OBattler
324e5860a0 The beginnings of the port of MartyPC's 808x emulation. 2023-07-15 03:14:13 +02:00
OBattler
840b65c577 Fixed warnings into .h files. 2023-07-15 03:11:59 +02:00
TC1995
e676796367 SoftFloat MMX:
Added softfloat versions of the MMX instructions while preserving the non-softfloat ones.
2023-07-15 00:28:39 +02:00
TC1995
f9d5ab39b3 CPU with softfloat: Added softfloat versions of the i686 FX opcodes while preserving the existing non-softfloat ones. 2023-07-14 21:46:15 +02:00
OBattler
2cd790cf7c Current state of the 808x code. 2023-07-12 20:43:06 +02:00
OBattler
32116fdd8f Reimplemented the 808x IN and OUT instructions, fixes the PIT test on the IBM PC and XT BIOS'es. 2023-07-07 19:33:44 +02:00
OBattler
f44821d840 Removed an invalid change from cpu/cpu.c. 2023-07-06 20:38:34 +02:00
OBattler
979bd75acb Merge branch 'master' of https://github.com/86Box/86Box 2023-07-06 19:59:54 +02:00
Jasmine Iwanek
922c4335ae Next round of sonarlint cleanups 2023-06-27 21:17:13 -04:00
OBattler
2fe3bcd5d2 Do the wraparounds properly on 64-bit binaries, fixes #3421. 2023-06-25 22:20:11 +02:00
OBattler
e4d860c025 Replaced calls to flushmmucache_cr3() to direct calls to flushmmucache_nopc() and removed the #define. 2023-06-11 22:12:18 +02:00
OBattler
f4c59e907d Removed mmu_invalidate(). 2023-06-11 22:07:32 +02:00
OBattler
0968369acb Clarified a condition in softfloat-specialize.h to fix a warning. 2023-06-11 13:49:47 +02:00
OBattler
c10b05f35c Finally commented out the logging in the MOV TRx instructions. 2023-06-11 13:48:03 +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
66816464f7 Fix a warning in cpu.c 2023-06-05 01:40:41 -04:00
OBattler
326b329c97 (REP) MOVS*, CMPS*: Make sure to do the segment checks first to ensure GPF has priority over page fault. 2023-05-16 00:46:39 +02:00
OBattler
d97dd687a3 Rewrite of FXSAVE/FXRSTOR and removed an unused variable from cpu_state_t. 2023-05-16 00:35:39 +02:00
OBattler
db568b8658 Correct the floatx80_abs() and floatx80_chs() declarations when used with C++ code - fixes the sign in some trigonometric instruction, fixes Quake on SoftFloat. 2023-05-07 22:59:18 +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
OBattler
18f96d2823 And that's the last softfloat warning fixed. 2023-05-02 15:27:20 +02:00
OBattler
fcd1d3f354 And another unused variable removed. Only the bitwise comparison warning is left now. 2023-05-02 15:25:53 +02:00
OBattler
5a342c0a80 Two unused variables. 2023-05-02 15:23:27 +02:00
OBattler
10bf8884b8 And another such warning (how is GCC unaware that it has literally evaluated every possible case?!). 2023-05-02 15:22:30 +02:00
OBattler
5f384427fc A small warning fix to shut up the compiler. 2023-05-02 15:20:15 +02:00
OBattler
aa41a9b49c Merge branch 'master' of https://github.com/86Box/86Box 2023-05-02 15:18:15 +02:00
OBattler
7ebdd1c74b Re-added the 32-bit address variants of FXTRACT, should fix OpenStep again. 2023-05-02 15:18:05 +02:00
Jasmine Iwanek
927c26f496 Fix some variant type comparisons 2023-05-02 02:18:17 -04:00
OBattler
a67af2368e Rename softfloat's poly.cc to softfloat_poly.cc, fixes the clobbering of Munt's poly.cpp when compiling with Makefile.mingw. 2023-05-01 02:42:47 +02:00
TC1995
c778d144cb Update x87_ops_misc.h
Fix compile 2.
2023-04-30 18:44:03 +02:00