Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_fp16_conv.c108 nir_ssa_def *overflowed_fp16 = NULL; in float_to_half_impl() local
114 overflowed_fp16 = nir_imm_int(b, 0x7BFF); in float_to_half_impl()
118overflowed_fp16 = nir_bcsel(b, nir_i2b1(b, sign), nir_imm_int(b, 0x7BFF), nir_imm_int(b, 0x7C00)); in float_to_half_impl()
122overflowed_fp16 = nir_bcsel(b, nir_i2b1(b, sign), nir_imm_int(b, 0x7C00), nir_imm_int(b, 0x7BFF)); in float_to_half_impl()
182 finite_or_overflowed_fp16 = nir_if_phi(b, overflowed_fp16, finite_fp16); in float_to_half_impl()