Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_float.c75 unsigned mantissa_bits, in lp_build_float_to_smallfloat() argument
88 unsigned exponent_start = mantissa_start + mantissa_bits; in lp_build_float_to_smallfloat()
119 ~((1 << (23 - mantissa_bits)) - 1) & in lp_build_float_to_smallfloat()
138 (((1 << mantissa_bits) - 1) << (23 - mantissa_bits))); in lp_build_float_to_smallfloat()
198 unsigned maskbits = (1 << (mantissa_bits + exponent_bits)) - 1; in lp_build_float_to_smallfloat()
200 maskbits << (23 - mantissa_bits)); in lp_build_float_to_smallfloat()
284 unsigned mantissa_bits, in lp_build_smallfloat_to_float() argument
292 unsigned exponent_start = mantissa_start + mantissa_bits; in lp_build_smallfloat_to_float()
309 ((1 << (mantissa_bits + exponent_bits)) - 1) in lp_build_smallfloat_to_float()
310 << (23 - mantissa_bits)); in lp_build_smallfloat_to_float()
Dlp_bld_format.h219 unsigned mantissa_bits,
228 unsigned mantissa_bits,
/third_party/mesa3d/src/compiler/nir/
Dnir_conversion_builder.h117 unsigned mantissa_bits; in nir_round_int_to_float() local
120 mantissa_bits = 10; in nir_round_int_to_float()
123 mantissa_bits = 23; in nir_round_int_to_float()
126 mantissa_bits = 52; in nir_round_int_to_float()
131 if (src->bit_size < mantissa_bits) in nir_round_int_to_float()
164 nir_ssa_def *mantissa_bit_size = nir_imm_int(b, mantissa_bits); in nir_round_int_to_float()
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl_literal_test.cc34 const uint32_t mantissa_bits = (mantissa & 0x7fffffu); in MakeFloat() local
36 uint32_t bits = sign_bit | exponent_bits | mantissa_bits; in MakeFloat()
/third_party/skia/third_party/externals/tint/src/writer/
Dfloat_to_string_test.cc36 const uint32_t mantissa_bits = (mantissa & 0x7fffffu); in MakeFloat() local
38 uint32_t bits = sign_bit | exponent_bits | mantissa_bits; in MakeFloat()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_const_literal_test.cc34 const uint32_t mantissa_bits = (mantissa & 0x7fffffu); in MakeFloat() local
36 uint32_t bits = sign_bit | exponent_bits | mantissa_bits; in MakeFloat()