Stanislav Shwartsman
79f46df971
separate APIC from CPU
2003-08-17 18:55:16 +00:00
Alexander Krisak
8559551001
iretd cpu instruction in real mode implemented, i hope this closes bugs 537047,
...
603410, 637822, 664544, 687619.
2003-08-17 18:15:04 +00:00
Stanislav Shwartsman
ecd8077b99
Fixed fetch qword function
2003-08-15 15:17:56 +00:00
Stanislav Shwartsman
60ca3ac674
;; is not so necessary ;)
2003-08-15 13:18:53 +00:00
Stanislav Shwartsman
f6711d51f2
Fixed very serious bug in x86-64 with wrong decoding of opcodes with two immediates
2003-08-15 13:17:16 +00:00
Stanislav Shwartsman
6aa0a62fe7
Optimizing fetchdecode
2003-08-15 13:08:24 +00:00
Stanislav Shwartsman
34e6a8ed15
update sanity checks
2003-08-07 19:22:37 +00:00
Alexander Krisak
45df735c30
Apply Vitaly's Vorobyov debugger patch
2003-08-04 16:03:09 +00:00
Stanislav Shwartsman
549eb70324
Committed CPU fixes from Vitaly Vorobyov:
...
[x] fixed bug in int01 (opcode 0xF1) emulation
[x] fixed bug in x86 debugger with dr0-dr3 registers
Committed disassembler bugfix from Dirk Thierbach:
[x] fixed bug in relative addresses in Jmp, Jcc, Call and so on
2003-08-03 16:44:53 +00:00
Stanislav Shwartsman
1616539667
additional FPU changes
2003-08-01 09:32:33 +00:00
Stanislav Shwartsman
96984cb6cb
Added missed fetchdecode table entry for SYSENTER/SYSEXIT
2003-06-20 08:58:12 +00:00
Stanislav Shwartsman
58efdfb31f
An illegal lock prefix was not checked for instructions without any attributes (i.e. without immediate, modrm or any other additional bytes except prefixes).
2003-06-12 17:01:37 +00:00
Stanislav Shwartsman
8ee1b70016
Fixed compilation/linking problem
2003-06-11 14:50:09 +00:00
Volker Ruppert
2ef0c43c7d
- description of ldtr fixed
2003-06-08 09:55:50 +00:00
Volker Ruppert
d1652093ac
- applied some parts of the patch from Andrew Zabolotny <zap@cobra.ru>
...
* changed all %ll format descriptions to FMT_LL macro so that
Microsoft Visual C works correctly (it uses %I64)
* missing type conversions added
* cdrom.cc: variable types for win32 fixed
* removed some unused variables in eth_win32.cc and harddrv.cc
* added missing includes in make_cmos_image.c and niclist.c
2003-06-07 19:16:55 +00:00
Stanislav Shwartsman
3c00944998
I hope this is the last one ...
2003-05-29 19:44:59 +00:00
Stanislav Shwartsman
56cc6469e3
Ops, missed one ...
2003-05-29 17:19:38 +00:00
Stanislav Shwartsman
f933d604d3
Fixed missed BxLockable for XCHG instruction
2003-05-29 17:15:08 +00:00
Stanislav Shwartsman
1024cb16ca
Fixed denormal problem in fload64_add operation
2003-05-27 20:30:19 +00:00
Stanislav Shwartsman
b6ff1e6d9d
dos2unix for softfloat
...
fixed denormals handling for MUL/DIV instructions
2003-05-26 19:30:33 +00:00
Stanislav Shwartsman
ab3320c6eb
Fixed denormal operand handling for add/sub instructions
2003-05-26 19:00:19 +00:00
Stanislav Shwartsman
0cb847f6d3
Quite different implementation of DAZ feature
...
Fixed bugs in execution of float64 packed instructions (almost all instructions affected)
2003-05-26 18:06:09 +00:00
Stanislav Shwartsman
c82060a215
Fixed problem with compare unordered and denormals exceptions
2003-05-25 20:18:46 +00:00
Stanislav Shwartsman
39ab1d18ac
Fixed compilation error
2003-05-23 08:49:55 +00:00
Stanislav Shwartsman
777e0db06b
Fixed cpu.cc compilation error with ICache disabled
...
Added --enable-3dnow configuration option
2003-05-21 15:48:55 +00:00
Stanislav Shwartsman
140ff2541b
Ability to configure x86-64 without 3DNOW
2003-05-21 15:20:51 +00:00
Stanislav Shwartsman
04ebd29f92
dos2unix fix
2003-05-19 15:02:47 +00:00
Stanislav Shwartsman
e5c647ad01
Removed unused some unused functions from softfloat
2003-05-18 03:52:18 +00:00
Stanislav Shwartsman
36a8c8a6ac
Compare unordered relation also raises denormal
2003-05-17 18:11:22 +00:00
Stanislav Shwartsman
338e7b4fe2
DAZ support (still under validation)
2003-05-17 17:45:54 +00:00
Stanislav Shwartsman
7e7cbdba6f
Bugdfix for pfp compare operation (affected 'greater_than' relation)
2003-05-17 14:49:21 +00:00
Stanislav Shwartsman
09b987a9e8
Denormals support for all SSE instructions
2003-05-17 09:08:18 +00:00
Stanislav Shwartsman
6fdecf77a1
New dependencies for CPU directory
2003-05-15 18:46:01 +00:00
Stanislav Shwartsman
928e20bd49
Changed some BX_INFO messages to BX_DEBUG
2003-05-15 18:32:27 +00:00
Stanislav Shwartsman
1d45167e5b
Merged NEW-INSTRUCTIONS branch
2003-05-15 16:41:17 +00:00
Kevin Lawton
a17d06abcb
Optimized the main cpu loop iCache checks to remove a redundant
...
check.
Commented out a number of instances of invalidate_prefetch_q(),
for branches which do not change CS since the EIP window mechanism
takes care of validating that EIP lands in the current page or not
in the main cpu loop anyways.
Fixed a couple cases (v8086 mode and real mode) of loading CS where
the EIP page window was not invalidated in segment_ctrl_pro.cc.
That may fix some aliasing problems reported before (OS2).
2003-05-10 22:25:55 +00:00
Christophe Bothamy
091052e199
- reverting to previous revision (xfer8 1.15, xfer16 1.21, xfer32 1.21)
...
as it breaks AMD64 support.
2003-05-08 17:56:48 +00:00
Christophe Bothamy
b3d16a48ef
- apply another speedup patch from Conn Clark.
...
Notes from the author:
Here is another one of my speed up patches. Unlike my previous speedups
this one will help more platforms than just X86. It cleans up the Data
Xfer instructions. Since the Data Xfer instructions are the most often
executed instructions it gives a noticable boost in speed. The basic
optimization technique was to eliminate intermediate variables and pass
a pointer to the final destination or original source to the
read_virtual_whatever and the write_virtual_whatever functions.
2003-05-03 16:19:07 +00:00
Volker Ruppert
79b811f23f
- fixed warnings in these files:
...
cpu/fetchdecode.cc
cpu/mmx.cc
cpu/proc_ctrl.cc
iodev/virt_timer.cc
plugin.cc
2003-05-02 12:22:48 +00:00
Christophe Bothamy
83b8bbedff
- fix REX MOVB immediate for x86_64 (patch by Arnd Bergmann)
...
(bug [ 720776 ] REX MOVB immediate broken for x86_64)
2003-04-26 10:02:03 +00:00
Stanislav Shwartsman
fa623fda74
FPU tag word is 16bit only
2003-04-25 18:43:48 +00:00
Stanislav Shwartsman
88d433bb73
Implemented MASKMOVQ
2003-04-23 18:57:57 +00:00
Stanislav Shwartsman
3485368ead
Ups, forgot smth ;)
2003-04-23 18:55:25 +00:00
Stanislav Shwartsman
ba2b84e604
Implemented MASKMOVQ and MASKMOVDQU instructions
2003-04-23 18:51:37 +00:00
Stanislav Shwartsman
446fca9ed0
Superfluous braces in initializers in fetchdecode.cc
2003-04-23 17:52:59 +00:00
Stanislav Shwartsman
d1d2fb34f0
Fixed number of compilation errors for FPU disabled case
...
Transfer fpu.cc from /fpu to /cpu
2003-04-22 20:21:34 +00:00
Stanislav Shwartsman
40bd4f138b
Little style changes
...
Elliminated i387_t alimit field (not used in FPU)
2003-04-16 18:38:53 +00:00
Stanislav Shwartsman
aa9152129c
Changes in i387 register file definition. Define common FPU/MMX register file.
2003-04-12 21:02:08 +00:00
Stanislav Shwartsman
1d54caca9b
Fixed compilation error
2003-04-09 19:20:05 +00:00
Stanislav Shwartsman
7db893970c
Read attributes bits even for BxSplit11b opcodes
...
Move lock prefix check later in fetchdecode function when all attributes is ready.
2003-04-06 19:08:31 +00:00