Loading lib_com/tools_fx.c +6 −4 Original line number Diff line number Diff line Loading @@ -2169,7 +2169,9 @@ Word16 maximum_exp_fx( FOR( j = 1; j < lvec_fx; j++ ) { Word16 tmp = sub( exp_vec[j], exp_vec[ind] ); #if 1 if ( vec_fx[j] == 0 ) { tmp = 0; Loading @@ -2180,10 +2182,10 @@ Word16 maximum_exp_fx( tmp = 0; move16(); } /* if(vec[j] > vec[ind]) //means */ /* if( GT_32( L_shr_sat( L_deposit_l( vec_fx[j])), sub( exp_vec[ind], exp_vec[j] ) , L_deposit_l( vec_fx[ind] ))) //is like */ if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), tmp ), vec_fx[ind], -0x0001 ) > 0 ) #endif /* if(vec[j] > vec[ind]) */ /* if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), tmp ), vec_fx[ind], -0x0001 ) > 0 ) */ if( GT_32( L_shr_sat( L_deposit_l( vec_fx[j])), sub( exp_vec[ind], exp_vec[j] ) , L_deposit_l( vec_fx[ind] ))) { ind = j; move16(); Loading Loading
lib_com/tools_fx.c +6 −4 Original line number Diff line number Diff line Loading @@ -2169,7 +2169,9 @@ Word16 maximum_exp_fx( FOR( j = 1; j < lvec_fx; j++ ) { Word16 tmp = sub( exp_vec[j], exp_vec[ind] ); #if 1 if ( vec_fx[j] == 0 ) { tmp = 0; Loading @@ -2180,10 +2182,10 @@ Word16 maximum_exp_fx( tmp = 0; move16(); } /* if(vec[j] > vec[ind]) //means */ /* if( GT_32( L_shr_sat( L_deposit_l( vec_fx[j])), sub( exp_vec[ind], exp_vec[j] ) , L_deposit_l( vec_fx[ind] ))) //is like */ if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), tmp ), vec_fx[ind], -0x0001 ) > 0 ) #endif /* if(vec[j] > vec[ind]) */ /* if ( L_mac0_sat( L_shl_sat( L_deposit_l( vec_fx[j] ), tmp ), vec_fx[ind], -0x0001 ) > 0 ) */ if( GT_32( L_shr_sat( L_deposit_l( vec_fx[j])), sub( exp_vec[ind], exp_vec[j] ) , L_deposit_l( vec_fx[ind] ))) { ind = j; move16(); Loading