Fixed compilation error

This commit is contained in:
Stanislav Shwartsman 2008-03-25 16:46:39 +00:00
parent 74b2716263
commit 94f30955be
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: cpu.h,v 1.436 2008-03-24 22:13:03 sshwarts Exp $
// $Id: cpu.h,v 1.437 2008-03-25 16:46:39 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -3140,6 +3140,7 @@ public: // for now...
BX_SMF int FPU_exception(int exception);
BX_SMF int fpu_save_environment(bxInstruction_c *);
BX_SMF int fpu_load_environment(bxInstruction_c *);
BX_SMF Bit16u unpack_FPU_TW(Bit16u tag_byte);
#endif
#if BX_SUPPORT_MMX || BX_SUPPORT_SSE
@ -3152,7 +3153,6 @@ public: // for now...
BX_SMF void prepareSSE(void);
BX_SMF void check_exceptionsSSE(int);
BX_SMF void print_state_SSE(void);
BX_SMF Bit16u unpack_FPU_TW(Bit16u tag_byte);
#endif
#if BX_SUPPORT_XSAVE

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: sse_move.cc,v 1.83 2008-03-22 21:29:41 sshwarts Exp $
// $Id: sse_move.cc,v 1.84 2008-03-25 16:46:39 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2003 Stanislav Shwartsman
@ -50,6 +50,9 @@ void BX_CPU_C::print_state_SSE(void)
}
}
#endif
#if BX_SUPPORT_FPU
Bit16u BX_CPU_C::unpack_FPU_TW(Bit16u tag_byte)
{
Bit32u twd = 0;
@ -107,7 +110,6 @@ Bit16u BX_CPU_C::unpack_FPU_TW(Bit16u tag_byte)
return (twd >> 2);
}
#endif
/* ************************************ */