Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
Dhalf_float.c61 const int flt_e = (fi.i >> 23) & 0xff; in _mesa_float_to_half_slow() local
70 if ((flt_e == 0) && (flt_m == 0)) { in _mesa_float_to_half_slow()
75 else if ((flt_e == 0) && (flt_m != 0)) { in _mesa_float_to_half_slow()
80 else if ((flt_e == 0xff) && (flt_m == 0)) { in _mesa_float_to_half_slow()
85 else if ((flt_e == 0xff) && (flt_m != 0)) { in _mesa_float_to_half_slow()
96 const int new_exp = flt_e - 127; in _mesa_float_to_half_slow()
Dsoftfloat.c1391 uint64_t flt_e = (di.u >> 52) & 0x7ff; in _mesa_double_to_f32() local
1397 if (flt_e == 0x7ff) { in _mesa_double_to_f32()
1414 if (!(flt_e | flt_m)) { in _mesa_double_to_f32()
1423 if ( ! (flt_e | m) ) { in _mesa_double_to_f32()
1431 return _mesa_round_f32(s, flt_e - 0x381, m | 0x40000000, rtz); in _mesa_double_to_f32()
1445 const uint32_t flt_e = (fi.u >> 23) & 0xff; in _mesa_float_to_half_rtz_slow() local
1451 if (flt_e == 0xff) { in _mesa_float_to_half_rtz_slow()
1469 if (!(flt_e | flt_m)) { in _mesa_float_to_half_rtz_slow()
1476 if ( ! (flt_e | m) ) { in _mesa_float_to_half_rtz_slow()
1482 return _mesa_roundtozero_f16(s, flt_e - 0x71, m | 0x4000); in _mesa_float_to_half_rtz_slow()