Loading lib_com/tools_fx.c +2 −16 Original line number Diff line number Diff line Loading @@ -2169,23 +2169,9 @@ Word16 maximum_exp_fx( FOR( j = 1; j < lvec_fx; j++ ) { Word16 scale = sub( exp_vec[j], exp_vec[ind] ); Word16 tmp = sub( exp_vec[j], exp_vec[ind] ); #if 0 if ( vec_fx[j] == 0 ) { tmp = 0; move16(); } if ( vec_fx[ind] == 0 ) { tmp = 0; move16(); } #endif /* if(vec[j] > vec[ind]) */ /* if ( GT_32( L_shl_sat( L_deposit_l( vec_fx[j] ), tmp ), L_deposit_l( vec_fx[ind] ) ) ) */ if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), tmp ), vec_fx[ind], -0x0001 ) > 0 ) if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), scale ), vec_fx[ind], -0x0001 ) > 0 ) { ind = j; move16(); Loading Loading
lib_com/tools_fx.c +2 −16 Original line number Diff line number Diff line Loading @@ -2169,23 +2169,9 @@ Word16 maximum_exp_fx( FOR( j = 1; j < lvec_fx; j++ ) { Word16 scale = sub( exp_vec[j], exp_vec[ind] ); Word16 tmp = sub( exp_vec[j], exp_vec[ind] ); #if 0 if ( vec_fx[j] == 0 ) { tmp = 0; move16(); } if ( vec_fx[ind] == 0 ) { tmp = 0; move16(); } #endif /* if(vec[j] > vec[ind]) */ /* if ( GT_32( L_shl_sat( L_deposit_l( vec_fx[j] ), tmp ), L_deposit_l( vec_fx[ind] ) ) ) */ if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), tmp ), vec_fx[ind], -0x0001 ) > 0 ) if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), scale ), vec_fx[ind], -0x0001 ) > 0 ) { ind = j; move16(); Loading