Commit Graph

526 Commits

Author SHA1 Message Date
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
OBattler
333e9377ff Some minor CPU bugfixes - one for 808x and one for the new dynarec. 2023-04-20 02:24:03 +02:00
OBattler
19d155cdd7 Keyboard controller file split and assorted clean-ups and fixes 2023-04-19 23:34:32 +02:00
OBattler
4eb902d853 More keyboard controller fixes. 2023-04-09 19:44:15 +02:00
Cacodemon345
16e6ed424c cpu_busspeed is now a double 2023-03-16 22:28:18 +06:00
Jasmine Iwanek
1860700eab Fix some small issues 2023-01-07 17:02:23 -05:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
4e73192cb0 Merge pull request #3011 from jriwanek-forks/slotket-8
Add Slot1 to Socket 8 slotket
2023-01-03 19:47:50 -05:00
Jasmine Iwanek
6291ae01a3 Even more missed formatting 2023-01-03 18:15:20 -05:00
Jasmine Iwanek
3738a83980 Add Slot1 to Socket 8 slotket
One such example is the ASUS C-P6S1
2023-01-03 16:01:45 -05:00
Jasmine Iwanek
5984270f0d Minor formatting in cpu.c 2022-12-28 19:07:51 -05:00
Jasmine Iwanek
239294b6e3 Add out of spec underclocked models
Matches how we handle the Deschutes
2022-12-27 15:27:06 -05:00
Jasmine Iwanek
bde4531606 Fix timings, as the Covington doesn't have L2 cache 2022-12-27 14:03:16 -05:00
Jasmine Iwanek
cfa6f64716 Initial P2 Covington support 2022-12-27 13:49:10 -05:00
Jasmine Iwanek
f04f0f24cc Tidy up src/cpu/cpu.h 2022-12-20 19:33:42 -05:00
Jasmine Iwanek
537fbad564 More bits of missed formatting 2022-12-20 19:33:42 -05:00
OBattler
d7c0889fe1 Fixed a small bug. 2022-12-07 02:05:49 +01:00
Alexander Babikov
6e3ffea3d4 Add the CR4 Page Global Enable bit support to Pentium Pro and Pentium II CPUs 2022-12-01 22:33:55 +05:00
Dan Horák
8c9dd1d7c8 fix build for non-dynarec platforms 2022-11-26 16:58:31 +01:00
Jasmine Iwanek
d802ec3485 more clang-formatting in cpu 2022-11-19 11:53:10 -05:00