Lines Matching refs:flt_m
330 const int flt_m = fi.i & 0x7fffff; in _mesa_float_to_half() local
340 if ((flt_e == 0) && (flt_m == 0)) { in _mesa_float_to_half()
345 else if ((flt_e == 0) && (flt_m != 0)) { in _mesa_float_to_half()
350 else if ((flt_e == 0xff) && (flt_m == 0)) { in _mesa_float_to_half()
355 else if ((flt_e == 0xff) && (flt_m != 0)) { in _mesa_float_to_half()
378 case 1: m = 512 + (flt_m >> 14); break; in _mesa_float_to_half()
379 case 2: m = 256 + (flt_m >> 15); break; in _mesa_float_to_half()
380 case 3: m = 128 + (flt_m >> 16); break; in _mesa_float_to_half()
381 case 4: m = 64 + (flt_m >> 17); break; in _mesa_float_to_half()
382 case 5: m = 32 + (flt_m >> 18); break; in _mesa_float_to_half()
383 case 6: m = 16 + (flt_m >> 19); break; in _mesa_float_to_half()
384 case 7: m = 8 + (flt_m >> 20); break; in _mesa_float_to_half()
385 case 8: m = 4 + (flt_m >> 21); break; in _mesa_float_to_half()
386 case 9: m = 2 + (flt_m >> 22); break; in _mesa_float_to_half()
398 m = flt_m >> 13; in _mesa_float_to_half()
419 int flt_m, flt_e, flt_s; in _mesa_half_to_float() local
429 flt_m = 0; in _mesa_half_to_float()
442 flt_m = 0; in _mesa_half_to_float()
447 flt_m = 1; in _mesa_half_to_float()
452 flt_m = m << 13; in _mesa_half_to_float()
455 fi.i = (flt_s << 31) | (flt_e << 23) | flt_m; in _mesa_half_to_float()