Author: aandrejevic Date: Sat Oct 11 14:34:31 2014 New Revision: 64669
URL: http://svn.reactos.org/svn/reactos?rev=64669&view=rev Log: [FAST486] Fix the 6-bit sub-opcode numbers for opcode 0xDB.
Modified: trunk/reactos/lib/fast486/fpu.c
Modified: trunk/reactos/lib/fast486/fpu.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/fpu.c?rev=64669... ============================================================================== --- trunk/reactos/lib/fast486/fpu.c [iso-8859-1] (original) +++ trunk/reactos/lib/fast486/fpu.c [iso-8859-1] Sat Oct 11 14:34:31 2014 @@ -514,7 +514,7 @@ switch ((ModRegRm.SecondRegister << 3) | ModRegRm.Register) { /* FCLEX */ - case 0x22: + case 0x42: { /* Clear exception data */ State->FpuStatus.Ie = @@ -531,7 +531,7 @@ }
/* FINIT */ - case 0x23: + case 0x43: { /* Restore the state */ State->FpuControl.Value = FAST486_FPU_DEFAULT_CONTROL; @@ -542,9 +542,9 @@ }
/* FENI */ - case 0x20: + case 0x40: /* FDISI */ - case 0x21: + case 0x41: { /* These do nothing */ break;