Lines Matching refs:fu
25 union fu { union
38 union fu fu = { .f = f }; in brw_float_to_vf() local
42 return fu.s.sign << 7; in brw_float_to_vf()
44 unsigned mantissa = fu.s.mantissa >> (23 - 4); in brw_float_to_vf()
45 unsigned exponent = fu.s.exponent - (127 - 3); in brw_float_to_vf()
46 unsigned vf = (fu.s.sign << 7) | (exponent << 4) | mantissa; in brw_float_to_vf()
53 if (fu.u & 0x7ffff || exponent > 7) in brw_float_to_vf()
62 union fu fu; in brw_vf_to_float() local
66 fu.u = (unsigned)vf << 24; in brw_vf_to_float()
67 return fu.f; in brw_vf_to_float()
70 fu.s.sign = vf >> 7; in brw_vf_to_float()
71 fu.s.exponent = ((vf & 0x70) >> 4) + (127 - 3); in brw_vf_to_float()
72 fu.s.mantissa = (vf & 0xf) << (23 - 4); in brw_vf_to_float()
74 return fu.f; in brw_vf_to_float()