Searched refs:exp_diff (Results 1 – 4 of 4) sorted by relevance
157 WORD32 exp_diff; in ixheaacd_alias_reduction() local161 exp_diff = (grp_gain_exp - tmp_gain_exp); in ixheaacd_alias_reduction()163 if (exp_diff >= 0) { in ixheaacd_alias_reduction()165 tmp_gain_mant = ixheaacd_shr32(tmp_gain_mant, exp_diff); in ixheaacd_alias_reduction()171 (ixheaacd_shr32(gain_m, (15 - exp_diff))) + tmp_gain_mant; in ixheaacd_alias_reduction()181 WORD32 exp_diff; in ixheaacd_alias_reduction() local182 exp_diff = tmp_e - nrg_mod_exp; in ixheaacd_alias_reduction()183 if (exp_diff >= 0) { in ixheaacd_alias_reduction()184 nrg_mod_mant = tmp_mant + (ixheaacd_shr32(nrg_mod_mant, exp_diff)); in ixheaacd_alias_reduction()187 exp_diff = -exp_diff; in ixheaacd_alias_reduction()[all …]
464 const int64_t exp_diff = a_flt_e - b_flt_e; in _mesa_double_add_rtz() local488 } else if (exp_diff == 0 && a_flt_e == 0) { in _mesa_double_add_rtz()492 } else if (exp_diff == 0) { in _mesa_double_add_rtz()496 } else if (exp_diff < 0) { in _mesa_double_add_rtz()506 a_flt_m = _mesa_shift_right_jam64(a_flt_m, -exp_diff); in _mesa_double_add_rtz()522 b_flt_m = _mesa_shift_right_jam64(b_flt_m, exp_diff); in _mesa_double_add_rtz()687 const int64_t exp_diff = a_flt_e - b_flt_e; in _mesa_double_sub_rtz() local718 } else if (exp_diff == 0) { in _mesa_double_sub_rtz()740 } else if (exp_diff < 0) { in _mesa_double_sub_rtz()746 a_flt_m = _mesa_shift_right_jam64(a_flt_m, -exp_diff); in _mesa_double_sub_rtz()[all …]
84 int exp_diff = st_mul.exponent - st_c.exponent;88 ulong cutoff_mask = (1ul << abs(exp_diff)) - 1ul;89 if (exp_diff > 0) {90 cutoff_bits = exp_diff >= 64 ? st_c.mantissa : (st_c.mantissa & cutoff_mask);91 st_c.mantissa = exp_diff >= 64 ? 0 : (st_c.mantissa >> exp_diff);93 cutoff_bits = -exp_diff >= 64 ? st_mul.mantissa : (st_mul.mantissa & cutoff_mask);94 st_mul.mantissa = -exp_diff >= 64 ? 0 : (st_mul.mantissa >> -exp_diff);
336 int exp_diff; in calc_period_factor() local338 exp_diff = ener_exc_e - L_tmp_e; in calc_period_factor()339 if (exp_diff >= 0) { in calc_period_factor()341 if (exp_diff <= DFRACT_BITS - 2) { in calc_period_factor()342 L_tmp >>= exp_diff + 1; in calc_period_factor()351 if (exp_diff >= -(DFRACT_BITS - 2)) { in calc_period_factor()352 ener_exc >>= 1 - exp_diff; in calc_period_factor()