Get rid of Sys_FPU_EnableExceptions()

No exceptions were ever enabled.
This commit is contained in:
dhewg 2012-07-05 22:46:28 +02:00 committed by Daniel Gibson
parent 4dc111e63f
commit 763791ab24

View file

@ -43,15 +43,6 @@ typedef enum {
CPUID_ALTIVEC = 0x00200, // AltiVec CPUID_ALTIVEC = 0x00200, // AltiVec
} cpuid_t; } cpuid_t;
typedef enum {
FPU_EXCEPTION_INVALID_OPERATION = 1,
FPU_EXCEPTION_DENORMALIZED_OPERAND = 2,
FPU_EXCEPTION_DIVIDE_BY_ZERO = 4,
FPU_EXCEPTION_NUMERIC_OVERFLOW = 8,
FPU_EXCEPTION_NUMERIC_UNDERFLOW = 16,
FPU_EXCEPTION_INEXACT_RESULT = 32
} fpuExceptions_t;
typedef enum { typedef enum {
AXIS_SIDE, AXIS_SIDE,
AXIS_FORWARD, AXIS_FORWARD,
@ -148,9 +139,6 @@ bool Sys_FPU_StackIsEmpty( void );
// returns the FPU state as a string // returns the FPU state as a string
const char * Sys_FPU_GetState( void ); const char * Sys_FPU_GetState( void );
// enables the given FPU exceptions
void Sys_FPU_EnableExceptions( int exceptions );
// sets the FPU precision // sets the FPU precision
void Sys_FPU_SetPrecision(); void Sys_FPU_SetPrecision();
@ -385,8 +373,6 @@ public:
virtual void FPU_SetFTZ( bool enable ) = 0; virtual void FPU_SetFTZ( bool enable ) = 0;
virtual void FPU_SetDAZ( bool enable ) = 0; virtual void FPU_SetDAZ( bool enable ) = 0;
virtual void FPU_EnableExceptions( int exceptions ) = 0;
virtual bool LockMemory( void *ptr, int bytes ) = 0; virtual bool LockMemory( void *ptr, int bytes ) = 0;
virtual bool UnlockMemory( void *ptr, int bytes ) = 0; virtual bool UnlockMemory( void *ptr, int bytes ) = 0;