Lines Matching refs:exp_diff
467 const int64_t exp_diff = a_flt_e - b_flt_e; in _mesa_double_add_rtz() local
491 } else if (exp_diff == 0 && a_flt_e == 0) { in _mesa_double_add_rtz()
495 } else if (exp_diff == 0) { in _mesa_double_add_rtz()
499 } else if (exp_diff < 0) { in _mesa_double_add_rtz()
509 a_flt_m = _mesa_shift_right_jam64(a_flt_m, -exp_diff); in _mesa_double_add_rtz()
525 b_flt_m = _mesa_shift_right_jam64(b_flt_m, exp_diff); in _mesa_double_add_rtz()
690 const int64_t exp_diff = a_flt_e - b_flt_e; in _mesa_double_sub_rtz() local
721 } else if (exp_diff == 0) { in _mesa_double_sub_rtz()
743 } else if (exp_diff < 0) { in _mesa_double_sub_rtz()
749 a_flt_m = _mesa_shift_right_jam64(a_flt_m, -exp_diff); in _mesa_double_sub_rtz()
758 b_flt_m = _mesa_shift_right_jam64(b_flt_m, exp_diff); in _mesa_double_sub_rtz()
1077 int64_t exp_diff = e - c_flt_e; in _mesa_double_fma_rtz() local
1078 if (exp_diff < 0) { in _mesa_double_fma_rtz()
1080 if ((s == c_flt_s) || (exp_diff < -1)) { in _mesa_double_fma_rtz()
1081 shift_dist -= exp_diff; in _mesa_double_fma_rtz()
1093 if (!exp_diff) { in _mesa_double_fma_rtz()
1101 _mesa_shift_right_jam_m(4, c_flt_m_128, exp_diff, c_flt_m_128); in _mesa_double_fma_rtz()
1106 if (exp_diff <= 0) { in _mesa_double_fma_rtz()
1118 if (exp_diff < 0) { in _mesa_double_fma_rtz()
1120 if (exp_diff < -1) { in _mesa_double_fma_rtz()
1137 } else if (!exp_diff) { in _mesa_double_fma_rtz()
1153 if (1 < exp_diff) { in _mesa_double_fma_rtz()
1332 int16_t exp_diff = e - c_flt_e; in _mesa_float_fma_rtz() local
1334 if (exp_diff <= 0) { in _mesa_float_fma_rtz()
1336 m = c_flt_m + _mesa_shift_right_jam64(m_64, 32 - exp_diff); in _mesa_float_fma_rtz()
1338 m_64 += _mesa_shift_right_jam64((uint64_t) c_flt_m << 32, exp_diff); in _mesa_float_fma_rtz()
1347 if (exp_diff < 0) { in _mesa_float_fma_rtz()
1350 m_64 = c_flt_m_64 - _mesa_shift_right_jam64(m_64, -exp_diff); in _mesa_float_fma_rtz()
1351 } else if (!exp_diff) { in _mesa_float_fma_rtz()
1364 m_64 -= _mesa_shift_right_jam64(c_flt_m_64, exp_diff); in _mesa_float_fma_rtz()