Use a more modern way to set the fpu precision

This commit is contained in:
dhewg 2012-07-05 21:53:00 +02:00 committed by Daniel Gibson
parent 8e323cb4ff
commit 4dc111e63f

View file

@ -52,12 +52,6 @@ typedef enum {
FPU_EXCEPTION_INEXACT_RESULT = 32 FPU_EXCEPTION_INEXACT_RESULT = 32
} fpuExceptions_t; } fpuExceptions_t;
typedef enum {
FPU_PRECISION_SINGLE = 0,
FPU_PRECISION_DOUBLE = 1,
FPU_PRECISION_DOUBLE_EXTENDED = 2
} fpuPrecision_t;
typedef enum { typedef enum {
AXIS_SIDE, AXIS_SIDE,
AXIS_FORWARD, AXIS_FORWARD,
@ -158,7 +152,7 @@ const char * Sys_FPU_GetState( void );
void Sys_FPU_EnableExceptions( int exceptions ); void Sys_FPU_EnableExceptions( int exceptions );
// sets the FPU precision // sets the FPU precision
void Sys_FPU_SetPrecision( int precision ); void Sys_FPU_SetPrecision();
// sets Flush-To-Zero mode // sets Flush-To-Zero mode
void Sys_FPU_SetFTZ( bool enable ); void Sys_FPU_SetFTZ( bool enable );