Stanislav Shwartsman
36a1a3df86
fixed FPATAN for case of |x|=|y|
...
but i am pretty sure same problem might still exists for other arguments :(
need to resurrect FPU functions unit testing ...
2023-11-19 22:00:46 +02:00
Stanislav Shwartsman
0b2231b799
fixed comment
2023-11-19 20:46:53 +02:00
Stanislav Shwartsman
c1c102ab04
coding style, cleanups and optimizations
2023-11-19 20:31:05 +02:00
Volker Ruppert
a9a15d332b
Modified error handling for display library option 'gui_debug'.
...
If Bochs debugger is not present now showing an error message box instead of a BX_PANIC for unknown option.
2023-11-19 16:16:09 +01:00
Stanislav Shwartsman
a923880b47
fix compilation warning
2023-11-19 07:54:40 +02:00
Stanislav Shwartsman
7886369102
simplify rdrand code for future extension
2023-11-19 07:29:10 +02:00
Stanislav Shwartsman
26f60a6ea4
spelling fix in the comment
2023-11-18 21:48:42 +02:00
Stanislav Shwartsman
ffec6a1898
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-18 20:18:07 +02:00
Stanislav Shwartsman
12ce649b42
fix GFNI instructions emulation
2023-11-18 20:15:29 +02:00
Volker Ruppert
6aa399e9eb
Added x64 configuration for the VS2019 plugins workspace (fixes issue #8 ).
...
Since VS2019 didn't copy all settings from win32, manually editing all files
was necessary (adding OutDir/IntDir stuff).
2023-11-18 17:08:05 +01:00
Stanislav Shwartsman
a0334ef2b2
change some consts back to defines to simplify integration of code to support variable PA length (rest of the code still WIP)
2023-11-18 16:53:44 +02:00
Stanislav Shwartsman
86082838af
added missing else which caused redundant memory access for 512-bit loads
2023-11-18 14:52:55 +02:00
Stanislav Shwartsman
054767ff8c
enable MOVDIRI for TigerLake
2023-11-18 12:35:28 +02:00
Stanislav Shwartsman
a3fe8c2c8d
introduce get_efer_allow_mask function to avoid placing that code directly in init.cc
2023-11-17 23:40:28 +02:00
Stanislav Shwartsman
9bda4eba28
introduce GET64_FROM_HI32_LO32 to form 64-bit integer from 2 32-bit
2023-11-17 23:31:38 +02:00
Stanislav Shwartsman
a9625e949d
update crregs.h with all known XSAVE/XRESTOR state information
...
including not implemented state
2023-11-17 23:24:00 +02:00
Stanislav Shwartsman
0730ff4c4a
added a comment for future: some memory operations must be done atomically
...
these are include LOCKed RMW of course and also a lot of others
in the future it will be very hard to find all the cases that must be atomic so better to start marking them already now
try to mark every RMW case for atomicity requirements
no code changes, only comments
2023-11-17 23:18:43 +02:00
Stanislav Shwartsman
1ad2ee6d4c
use isReadOK instead of magic arithmetic for system_read_* methods
...
introduce system_write_qword as well
2023-11-17 23:14:38 +02:00
Stanislav Shwartsman
db17e4a4e2
Revert "reset status bar items at reset" ( #137 )
...
Reverts bochs-emu/Bochs#136
2023-11-17 09:37:46 +02:00
Benjamin David Lunt
c247b43718
reset status bar items at reset ( #136 )
...
When the user presses the "Reset" button on the gui ribbon, we need to
clear the active status of all statusbar items or they remain set after
the reset occurs.
This is mentioned in issue #123
2023-11-17 09:36:56 +02:00
Stanislav Shwartsman
447f18e53b
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-17 01:35:39 +02:00
Stanislav Shwartsman
01e744b507
bugfix for CET/XSAVE: XSAVE/XRESTOR wrongly determined if CTE.U is in XINIT state
2023-11-17 01:35:32 +02:00
Volker Ruppert
eec7a55c46
Fixed another gcc 13.2 warning (overloaded virtual).
2023-11-16 19:47:59 +01:00
Volker Ruppert
def53a2928
Fixed gui DLL name.
2023-11-15 23:33:27 +01:00
Stanislav Shwartsman
a9d07b5a51
coding style, move variables definition closer to its use, use constants instead of defines
2023-11-14 20:14:38 +02:00
Stanislav Shwartsman
baaaf1b9a7
update CHANGES
2023-11-14 19:31:37 +02:00
Stanislav Shwartsman
4941bb1f07
sync emulated time when linking traces
2023-11-14 19:26:56 +02:00
Stanislav Shwartsman
fde226f31c
improve fix for VMCS_GUEST_PENDING_DBG_EXCEPTIONS saved on VMEXIT (should be cleared after most of VMEXITs)
...
handle some corner cases
2023-11-14 15:59:59 +02:00
Stanislav Shwartsman
60cc8020e8
Fixed VMCS_GUEST_PENDING_DBG_EXCEPTIONS saved on VMEXIT (should be cleared after most of VMEXITs)
2023-11-13 20:02:03 +02:00
Volker Ruppert
413507ee3a
Trying to load a 'builtin' plugin twice must cause a BX_PANIC (same as plugin version).
2023-11-12 21:00:14 +01:00
Volker Ruppert
04941fd511
Added support for cross-compiling for win64 with plugins enabled.
2023-11-12 20:15:51 +01:00
Stanislav Shwartsman
b54b135d29
Updated plugins workspace after memory code changes
2023-11-12 20:30:07 +02:00
Stanislav Shwartsman
1401bd50e1
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-12 20:28:26 +02:00
Stanislav Shwartsman
a9457e466c
fixed compilation with debugger
2023-11-12 20:28:12 +02:00
Volker Ruppert
654f8796fb
Updated standard workspace after memory code changes.
2023-11-12 17:37:03 +01:00
Shwartsman
cc6f8284ff
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-12 17:17:01 +02:00
Shwartsman
4f739d7e88
simplification: dbg_show_symbolic with no return value
2023-11-12 13:38:59 +02:00
Shwartsman
f8c94e83ff
add missing SVM VMEXIT in case of triple fault shutdown
2023-11-12 13:38:16 +02:00
Volker Ruppert
aa8224b14e
Added BX_PANIC in case no plugins are found to avoid segfault.
2023-11-12 00:09:42 +01:00
Stanislav Shwartsman
f5b54a4d33
Implemented MOVDIRI instruction ( #129 )
...
Co-authored-by: Stanislav Shwartsman <sshwarts@users.sourceforge.net>
2023-11-11 20:30:12 +02:00
Stanislav Shwartsman
620d091264
update CHANGES
2023-11-11 18:55:29 +02:00
Stanislav Shwartsman
f85c633d3d
preserve original VMCBPTR after SVM VMLOAD/VMSAVE instructions ( #128 )
...
Co-authored-by: Stanislav Shwartsman <sshwarts@users.sourceforge.net>
2023-11-11 17:52:10 +02:00
Stanislav Shwartsman
154896d923
Revert "fix code duplication"
...
This reverts commit 29c7a84c08
.
2023-11-11 12:44:01 +02:00
Stanislav Shwartsman
29c7a84c08
fix code duplication
2023-11-11 12:19:27 +02:00
Stanislav Shwartsman
32cab8f384
introduce memory stub class which manages *only* RAM related logic of… ( #127 )
...
… the memory
it is very useful for CPU unit testing without devices or BIOS
Co-authored-by: Stanislav Shwartsman <sshwarts@users.sourceforge.net>
2023-11-11 10:10:50 +02:00
Stanislav Shwartsman
1e92d9ee4e
removed unused defines
2023-11-10 19:14:26 +02:00
Stanislav Shwartsman
db88c6c5bf
fixed code duplication in debugger code
2023-11-10 19:10:51 +02:00
Stanislav Shwartsman
676da2e587
update CHANGES
2023-11-09 23:14:01 +02:00
Stanislav Shwartsman
913c8a0ac9
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-09 19:15:42 +02:00
Stanislav Shwartsman
8594972389
final resolution for issue #2 : address VEXPAND* and VPSHUFBITQMB instructions
2023-11-09 19:15:32 +02:00