mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 16:12:02 +00:00
[FAST486]
Revert the previous fix and fix it again, but properly. svn path=/trunk/; revision=64671
This commit is contained in:
parent
8f8255e36b
commit
beb08f639d
1 changed files with 5 additions and 5 deletions
|
@ -511,10 +511,10 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDB)
|
|||
else
|
||||
{
|
||||
/* Only a few of these instructions have any meaning on a 487 */
|
||||
switch ((ModRegRm.SecondRegister << 3) | ModRegRm.Register)
|
||||
switch ((ModRegRm.Register << 3) | ModRegRm.SecondRegister)
|
||||
{
|
||||
/* FCLEX */
|
||||
case 0x42:
|
||||
case 0x22:
|
||||
{
|
||||
/* Clear exception data */
|
||||
State->FpuStatus.Ie =
|
||||
|
@ -531,7 +531,7 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDB)
|
|||
}
|
||||
|
||||
/* FINIT */
|
||||
case 0x43:
|
||||
case 0x23:
|
||||
{
|
||||
/* Restore the state */
|
||||
State->FpuControl.Value = FAST486_FPU_DEFAULT_CONTROL;
|
||||
|
@ -542,9 +542,9 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDB)
|
|||
}
|
||||
|
||||
/* FENI */
|
||||
case 0x40:
|
||||
case 0x20:
|
||||
/* FDISI */
|
||||
case 0x41:
|
||||
case 0x21:
|
||||
{
|
||||
/* These do nothing */
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue