Loading lib_com/env_stab_fx.c +8 −0 Original line number Diff line number Diff line Loading @@ -46,7 +46,11 @@ Word16 env_stability_fx( /* in Q15 */ mem_norm[i] = ynrm[i]; move16(); } Overflow = 0; move16(); #ifdef BASOP_NOGLOB env_delta = shl_o(*mem_env_delta, 1, &Overflow); #else env_delta = shl(*mem_env_delta, 1); #endif } ELSE { Loading Loading @@ -85,7 +89,11 @@ Word16 env_stability_fx( /* in Q15 */ *mem_env_delta = round_fx(L_tmp); /* Q12 */ Overflow = 0; move16(); #ifdef BASOP_NOGLOB env_delta = round_fx_o(L_shl_o(L_tmp, 1, &Overflow), &Overflow); /* Q13 */ #else env_delta = round_fx(L_shl(L_tmp, 1)); /* Q13 */ #endif } IF (Overflow != 0) /* Saturated due to the above up-shifting operation. */ { Loading Loading
lib_com/env_stab_fx.c +8 −0 Original line number Diff line number Diff line Loading @@ -46,7 +46,11 @@ Word16 env_stability_fx( /* in Q15 */ mem_norm[i] = ynrm[i]; move16(); } Overflow = 0; move16(); #ifdef BASOP_NOGLOB env_delta = shl_o(*mem_env_delta, 1, &Overflow); #else env_delta = shl(*mem_env_delta, 1); #endif } ELSE { Loading Loading @@ -85,7 +89,11 @@ Word16 env_stability_fx( /* in Q15 */ *mem_env_delta = round_fx(L_tmp); /* Q12 */ Overflow = 0; move16(); #ifdef BASOP_NOGLOB env_delta = round_fx_o(L_shl_o(L_tmp, 1, &Overflow), &Overflow); /* Q13 */ #else env_delta = round_fx(L_shl(L_tmp, 1)); /* Q13 */ #endif } IF (Overflow != 0) /* Saturated due to the above up-shifting operation. */ { Loading