Home
last modified time | relevance | path

Searched refs:shift_dist (Results 1 – 1 of 1) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dsoftfloat.c559 int8_t shift_dist; in _mesa_norm_round_pack_f64() local
561 shift_dist = _mesa_count_leading_zeros64(m) - 1; in _mesa_norm_round_pack_f64()
562 e -= shift_dist; in _mesa_norm_round_pack_f64()
563 if ((10 <= shift_dist) && ((unsigned) e < 0x7fd)) { in _mesa_norm_round_pack_f64()
565 result.u = (s << 63) + ((m ? e : 0) << 52) + (m << (shift_dist - 10)); in _mesa_norm_round_pack_f64()
568 return _mesa_roundtozero_f64(s, e, m << shift_dist); in _mesa_norm_round_pack_f64()
686 unsigned shift_dist = 0; in _mesa_double_sub_rtz() local
733 shift_dist = _mesa_count_leading_zeros64(m_diff) - 11; in _mesa_double_sub_rtz()
734 e = a_flt_e - shift_dist; in _mesa_double_sub_rtz()
736 shift_dist = a_flt_e; in _mesa_double_sub_rtz()
[all …]