Commit Graph

545 Commits

Author SHA1 Message Date
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
TC1995
07a7af84a5 Update x87_ops_misc.h
Fix PR commit.
2023-04-30 18:43:26 +02:00
TC1995
43245c69b4 Merge branch 'master' into pr_softfloat 2023-04-30 18:20:21 +02:00
TC1995
7c372ca789 Moved the softfloat-enabled ops back to the cpu directory.
Made softfloat always enabled, thus dynarec disabled, only for the IBM PS/2 model 70 type 4, in preparation for its comeback to main use.
2023-04-30 18:18:12 +02:00
OBattler
3ea8a9607f Replaced my implmenetation of FXTRACT with TC1995's. 2023-04-30 00:32:50 +02:00
TC1995
7a53e1de45 Initial softfloat port from Bochs to 86box, currently selectable only on QT. 2023-04-29 18:56:57 +02:00
OBattler
071c05e65f Fixed the typedef's name. 2023-04-29 18:16:41 +02:00
OBattler
6e853aa756 Use uint64_t's, they can actually hold that many bits. 2023-04-29 18:14:44 +02:00
OBattler
4aedbc44be Removed a now obsolete #ifdef. 2023-04-29 18:08:36 +02:00
OBattler
19ce34787d Implemented the x87 instruction FXTRACT. 2023-04-29 18:05:20 +02:00
RichardG867
4253c7bae7 386_common: Handle IOPB segment limit corner case more like the old code 2023-04-22 22:28:18 -03:00
RichardG867
c076406450 386_common: Optimize I/O permission checking for word and dword operations (based on qemu) 2023-04-22 18:41:42 -03:00