[FAST486]

Fix the previous commit. FPU_CHECK should be called after the fetch.


svn path=/branches/ntvdm/; revision=62345
This commit is contained in:
Aleksandar Andrejevic
2014-02-27 03:57:20 +00:00
parent 935289b5bc
commit 2d9fbc6954
+16 -16
View File
@@ -37,8 +37,6 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD8)
{
UCHAR Function;
FPU_CHECK();
/* Fetch the function number */
if (!Fast486FetchByte(State, &Function))
{
@@ -46,6 +44,8 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD8)
return FALSE;
}
FPU_CHECK();
#ifndef FAST486_NO_FPU
// TODO: NOT IMPLEMENTED
UNIMPLEMENTED;
@@ -61,8 +61,6 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD9)
{
UCHAR Function;
FPU_CHECK();
/* Fetch the function number */
if (!Fast486FetchByte(State, &Function))
{
@@ -70,6 +68,8 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD9)
return FALSE;
}
FPU_CHECK();
#ifndef FAST486_NO_FPU
// TODO: NOT IMPLEMENTED
UNIMPLEMENTED;
@@ -85,8 +85,6 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDA)
{
UCHAR Function;
FPU_CHECK();
/* Fetch the function number */
if (!Fast486FetchByte(State, &Function))
{
@@ -94,6 +92,8 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDA)
return FALSE;
}
FPU_CHECK();
#ifndef FAST486_NO_FPU
// TODO: NOT IMPLEMENTED
UNIMPLEMENTED;
@@ -109,8 +109,6 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDB)
{
UCHAR Function;
FPU_CHECK();
/* Fetch the function number */
if (!Fast486FetchByte(State, &Function))
{
@@ -118,6 +116,8 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDB)
return FALSE;
}
FPU_CHECK();
#ifndef FAST486_NO_FPU
// TODO: NOT IMPLEMENTED
UNIMPLEMENTED;
@@ -133,8 +133,6 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDC)
{
UCHAR Function;
FPU_CHECK();
/* Fetch the function number */
if (!Fast486FetchByte(State, &Function))
{
@@ -142,6 +140,8 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDC)
return FALSE;
}
FPU_CHECK();
#ifndef FAST486_NO_FPU
// TODO: NOT IMPLEMENTED
UNIMPLEMENTED;
@@ -157,8 +157,6 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDD)
{
UCHAR Function;
FPU_CHECK();
/* Fetch the function number */
if (!Fast486FetchByte(State, &Function))
{
@@ -166,6 +164,8 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDD)
return FALSE;
}
FPU_CHECK();
#ifndef FAST486_NO_FPU
// TODO: NOT IMPLEMENTED
UNIMPLEMENTED;
@@ -181,8 +181,6 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDE)
{
UCHAR Function;
FPU_CHECK();
/* Fetch the function number */
if (!Fast486FetchByte(State, &Function))
{
@@ -190,6 +188,8 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDE)
return FALSE;
}
FPU_CHECK();
#ifndef FAST486_NO_FPU
// TODO: NOT IMPLEMENTED
UNIMPLEMENTED;
@@ -205,8 +205,6 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDF)
{
UCHAR Function;
FPU_CHECK();
/* Fetch the function number */
if (!Fast486FetchByte(State, &Function))
{
@@ -214,6 +212,8 @@ FAST486_OPCODE_HANDLER(Fast486FpuOpcodeDF)
return FALSE;
}
FPU_CHECK();
#ifndef FAST486_NO_FPU
// TODO: NOT IMPLEMENTED
UNIMPLEMENTED;