Loading lib_com/basop_util.c +5 −0 Original line number Diff line number Diff line Loading @@ -1013,6 +1013,10 @@ Word32 div_w( Word32 L_num, Word32 L_den ) Word32 BASOP_Util_Divide3232_Scale_cadence( Word32 x, Word32 y, Word16 *s ) { Word32 z; #ifdef FORCE_DIV32_OPT_NEWTON z = BASOP_Util_Divide3232_Scale_newton( x, y, s ); return z; #else Word16 sx; Word16 sy; Word32 sign; Loading Loading @@ -1060,6 +1064,7 @@ Word32 BASOP_Util_Divide3232_Scale_cadence( Word32 x, Word32 y, Word16 *s ) } return z; #endif } #ifdef DIV32_OPT_NEWTON Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -111,5 +111,6 @@ #define HARM_ENC_INIT //#define HARM_SCE_INIT #define DIV32_OPT_NEWTON /* FhG: faster 32 by 32 bit division */ #define FORCE_DIV32_OPT_NEWTON /* FhG: replace BASOP_Util_Divide3232_Scale_cadence() by BASOP_Util_Divide3232_Scale_newton() */ #endif Loading
lib_com/basop_util.c +5 −0 Original line number Diff line number Diff line Loading @@ -1013,6 +1013,10 @@ Word32 div_w( Word32 L_num, Word32 L_den ) Word32 BASOP_Util_Divide3232_Scale_cadence( Word32 x, Word32 y, Word16 *s ) { Word32 z; #ifdef FORCE_DIV32_OPT_NEWTON z = BASOP_Util_Divide3232_Scale_newton( x, y, s ); return z; #else Word16 sx; Word16 sy; Word32 sign; Loading Loading @@ -1060,6 +1064,7 @@ Word32 BASOP_Util_Divide3232_Scale_cadence( Word32 x, Word32 y, Word16 *s ) } return z; #endif } #ifdef DIV32_OPT_NEWTON Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -111,5 +111,6 @@ #define HARM_ENC_INIT //#define HARM_SCE_INIT #define DIV32_OPT_NEWTON /* FhG: faster 32 by 32 bit division */ #define FORCE_DIV32_OPT_NEWTON /* FhG: replace BASOP_Util_Divide3232_Scale_cadence() by BASOP_Util_Divide3232_Scale_newton() */ #endif