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()
91 if (f32.ui > f16inf) in util_float_to_half()
92 f32.ui = f16inf - 1; in util_float_to_half()
94 f16 = f32.ui >> 13; in util_float_to_half()
110 infnan.ui = 0x8f << 23; in util_half_to_float()
112 magic.ui = 0xef << 23; in util_half_to_float()
115 f32.ui = (f16 & 0x7fff) << 13; in util_half_to_float()
123 f32.ui |= 0xff << 23; in util_half_to_float()
126 f32.ui |= (f16 & 0x8000) << 16; in util_half_to_float()