[FAST486][NTVDM]: Do not compile some FPU functions when FAST486_NO_FPU is defined (fixes build).

svn path=/trunk/; revision=65009
This commit is contained in:
Hermès Bélusca-Maïto 2014-10-26 11:50:14 +00:00
parent 41f5ac7550
commit 0de95c0f94
2 changed files with 6 additions and 0 deletions

View file

@ -32,6 +32,8 @@
/* PRIVATE FUNCTIONS **********************************************************/
#ifndef FAST486_NO_FPU
static ULONGLONG
UnsignedMult128(ULONGLONG Multiplicand,
ULONGLONG Multiplier,
@ -303,6 +305,8 @@ Fast486FpuDivide(PFAST486_STATE State,
UNIMPLEMENTED;
}
#endif
/* PUBLIC FUNCTIONS ***********************************************************/
FAST486_OPCODE_HANDLER(Fast486FpuOpcodeD8DC)

View file

@ -39,6 +39,7 @@ getIntelRegistersPointer(VOID)
IntelRegPtr.Dr7 = EmulatorContext.DebugRegisters[FAST486_REG_DR7];
}
#ifndef FAST486_NO_FPU
if (IntelRegPtr.ContextFlags & CONTEXT_FLOATING_POINT)
{
// IntelRegPtr.FloatSave = ;
@ -52,6 +53,7 @@ getIntelRegistersPointer(VOID)
// IntelRegPtr.FloatSave.RegisterArea = ; // This is a region of size SIZE_OF_80387_REGISTERS == 80 bytes
// IntelRegPtr.FloatSave.Cr0NpxState = ;
}
#endif
if (IntelRegPtr.ContextFlags & CONTEXT_SEGMENTS)
{