Lines Matching refs:ui
58 magic.ui = 0xf << 23; in util_float_to_half()
63 sign = f32.ui & sign_mask; in util_float_to_half()
64 f32.ui ^= sign; in util_float_to_half()
66 if (f32.ui == f32inf) { in util_float_to_half()
69 } else if (f32.ui > f32inf) { in util_float_to_half()
74 f32.ui &= round_mask; in util_float_to_half()
76 f32.ui -= round_mask; in util_float_to_half()
79 if (f32.ui > f16inf) in util_float_to_half()
80 f32.ui = f16inf; in util_float_to_half()
82 f16 = f32.ui >> 13; in util_float_to_half()
98 infnan.ui = 0x8f << 23; in util_half_to_float()
100 magic.ui = 0xef << 23; in util_half_to_float()
103 f32.ui = (f16 & 0x7fff) << 13; in util_half_to_float()
110 f32.ui |= 0xff << 23; in util_half_to_float()
113 f32.ui |= (f16 & 0x8000) << 16; in util_half_to_float()