Stanislav Shwartsman
dcb392311f
Merged BIOS patches from @SF tracker
2008-04-08 16:41:18 +00:00
Stanislav Shwartsman
a33d8c6008
Make get_laddr and get_segment_base BX_SMF
2008-04-08 05:36:30 +00:00
Stanislav Shwartsman
8424d2b888
Fixed required to make MSVC build with fastcall optimization (-Gr) healthy.
...
There is a trick in MSVC is to turn on the -Gr compiler switch which tells MSVC to compile all functions using fastcall calling convention. This way you don't have to edit each function declaration. But certain functions must NOT be fastcall, and those are callbacks from Windows which are defined either as cdecl or stdcall. The entry point main() also has to remain cdecl.
Patch by Darek Mihocka
2008-04-07 20:20:04 +00:00
Stanislav Shwartsman
a851cfd8f0
Re-implemented modebp debugger function in simple and more clean way
2008-04-07 19:59:53 +00:00
Stanislav Shwartsman
44f04a93da
Fixed compilation issue
2008-04-07 19:00:30 +00:00
Stanislav Shwartsman
1fc892406c
Indent changes
2008-04-07 18:48:11 +00:00
Stanislav Shwartsman
fea49bb270
Fixed linear address wrap in legacy (not long64) mode
2008-04-07 18:39:17 +00:00
Stanislav Shwartsman
fe59e0ae6a
FIxed comment in fetchdecode
2008-04-06 18:31:10 +00:00
Stanislav Shwartsman
b1a7736514
Code cleanup
2008-04-06 18:27:24 +00:00
Stanislav Shwartsman
77d91d59aa
Inline prepare_SSE and prepare_XSAVE functions
2008-04-06 18:00:20 +00:00
Stanislav Shwartsman
420f30816d
inline integer saturation code - speedup for MMX/SSE integer
2008-04-06 13:56:22 +00:00
Stanislav Shwartsman
2a121e2664
Fixed compilation error with bx debugger
2008-04-05 21:41:31 +00:00
Stanislav Shwartsman
b1446727bf
Fixed english grammar error
2008-04-05 21:28:11 +00:00
Stanislav Shwartsman
1b622661d7
Cleanup
2008-04-05 20:49:21 +00:00
Stanislav Shwartsman
90f1973bef
Removed BX_USE_TLB - TLB is always used, only Guest2HostTLB is optional feature
...
Use Guest2HostTLB in prefetch code for IFETCHES - speedup above 3%
2008-04-05 20:41:00 +00:00
Stanislav Shwartsman
c8d8eb8e52
Remove eplicit machine:I386 flag for compilation with MSVCPP
...
it allows to build 64-bit native Bochs under Win64 and MSVCPP
2008-04-05 19:21:52 +00:00
Stanislav Shwartsman
1bdddc1f78
Split SHRD/SHLD instructions
2008-04-05 19:08:01 +00:00
Stanislav Shwartsman
16bf4402b0
Remove wrongly committed code
2008-04-05 17:57:21 +00:00
Stanislav Shwartsman
5826e2843a
Inline pop/push functions
...
Store only single byte of opcode in b1() - speedup shift instructions
Code cleanups
2008-04-05 17:51:55 +00:00
Stanislav Shwartsman
2aaafa76a2
Reorganize fetchdecode tables with another level of redirection - a leap toward future improvements
...
Currently no speedup and no slowdown - about the same results on my Bochs benchmarking
A lot of code reorganization in fetchdecode
2008-04-04 22:39:45 +00:00
Stanislav Shwartsman
b5d5e91ff7
Remove old deprecated options from configure
2008-04-04 21:12:51 +00:00
Stanislav Shwartsman
c26d9d563c
Missed include file
2008-04-04 21:10:30 +00:00
Stanislav Shwartsman
3f5263a142
Compilation fixes that allow to disable FPU by just setting BX_SUPPORT_FPU=0
2008-04-04 21:05:37 +00:00
Stanislav Shwartsman
026c333fa9
move handleDAZ to fpu
2008-04-04 20:03:27 +00:00
Stanislav Shwartsman
bb1195f1e6
move denormals_are_zeros to fpu_specialize.h
2008-04-04 20:02:36 +00:00
Stanislav Shwartsman
858842edec
Typo fix
2008-04-04 14:04:11 +00:00
Stanislav Shwartsman
671cd93966
Add CPU flags for future use
2008-04-04 12:23:45 +00:00
Stanislav Shwartsman
52770feedd
Add CPUID bits comments and update CPU TODO
2008-04-04 12:23:19 +00:00
Stanislav Shwartsman
08eb20cf48
Update MSVC workspaces
2008-04-03 19:04:05 +00:00
Stanislav Shwartsman
41fe0b3ebb
Fix code duplication
2008-04-03 18:59:10 +00:00
Stanislav Shwartsman
1808710881
fixed duplicate line
2008-04-03 18:13:26 +00:00
Stanislav Shwartsman
62e3728591
preparations for future optimizations - not necessary speedupo now
2008-04-03 17:56:59 +00:00
Stanislav Shwartsman
4180fd9e11
Merge resolve16/32/64.cc to single file
2008-04-03 17:44:33 +00:00
Stanislav Shwartsman
e91409704f
Convert EFER to val32 register, similar to other control registers
2008-03-31 20:56:27 +00:00
Stanislav Shwartsman
3f2487a0af
Enabled tracing cross repeated instructions
2008-03-31 18:53:08 +00:00
Stanislav Shwartsman
255d512e29
Organize bxInstruction fields differently
2008-03-31 17:33:34 +00:00
Stanislav Shwartsman
65adf7014b
Updated CHANGES
2008-03-30 18:38:02 +00:00
Stanislav Shwartsman
661d6721dc
added ldsym command to user docs
2008-03-30 18:32:41 +00:00
Stanislav Shwartsman
52a771b2c2
added load_symbols command example
2008-03-30 18:28:35 +00:00
Stanislav Shwartsman
3c40cb1610
More improvements to load-symbols in bx debugger
2008-03-30 14:32:14 +00:00
Volker Ruppert
a1950bb565
- fixed compilation error: "jump to case label crosses initialization of `Bit32u drvsel'"
2008-03-30 08:32:57 +00:00
Stanislav Shwartsman
a77b012049
Update debugger parser
2008-03-30 05:47:31 +00:00
Stanislav Shwartsman
041ae54724
Fixed lexer bug
2008-03-30 05:45:42 +00:00
Stanislav Shwartsman
231056fff4
small cleanups
2008-03-29 21:51:42 +00:00
Stanislav Shwartsman
6b6492dd36
Compiled lex/yacc output for debugger
2008-03-29 21:37:18 +00:00
Stanislav Shwartsman
46e7ca44dc
dded patch with symbols support in bochs-debugger
2008-03-29 21:32:18 +00:00
Stanislav Shwartsman
b5f5e01f7e
added assert to paging.cc
2008-03-29 21:12:11 +00:00
Stanislav Shwartsman
aade564f33
Correct variable name
2008-03-29 21:03:38 +00:00
Stanislav Shwartsman
08f958f458
Fixed pageWriteStampTable to handle BIOS code as well - increased the table to all 4G instead of allocated memory size
...
Avoid checking of pageWriteStamp in the heart of cpu loop with trace cache - now decWriteStamp will post stopTraceExecution event if it hits code page
2008-03-29 21:01:25 +00:00
Stanislav Shwartsman
7aef2d5892
Inline get_ZF/SF/PF lazy flags functions - gcc didn't get them inline before
2008-03-29 18:44:13 +00:00