Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_frexp.c118 nir_ssa_def *exponent_bias = nir_imm_intN_t(b, -14, 16); in lower_frexp_exp() local
124 nir_bcsel(b, is_not_zero, exponent_bias, zero))); in lower_frexp_exp()
129 nir_ssa_def *exponent_bias = nir_imm_int(b, -126); in lower_frexp_exp() local
132 nir_bcsel(b, is_not_zero, exponent_bias, zero)); in lower_frexp_exp()
137 nir_ssa_def *exponent_bias = nir_imm_int(b, -1022); in lower_frexp_exp() local
143 nir_bcsel(b, is_not_zero, exponent_bias, zero32)); in lower_frexp_exp()
/external/deqp-deps/glslang/SPIRV/
Dhex_float.h184 static const uint32_t exponent_bias = 0;
198 static const uint_type exponent_bias = 127;
212 static const uint_type exponent_bias = 1023;
226 static const uint_type exponent_bias = 15;
257 static const uint32_t exponent_bias = Traits::exponent_bias;
307 (exponent_mask >> num_fraction_bits) - exponent_bias;
309 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
330 return static_cast<int_type>(getExponentBits() - exponent_bias);
410 exponent = static_cast<int_type>(exponent + exponent_bias);
587 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
Dhex_float.h184 static const uint32_t exponent_bias = 0;
198 static const uint_type exponent_bias = 127;
212 static const uint_type exponent_bias = 1023;
226 static const uint_type exponent_bias = 15;
257 static const uint32_t exponent_bias = Traits::exponent_bias;
307 (exponent_mask >> num_fraction_bits) - exponent_bias;
309 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
330 return static_cast<int_type>(getExponentBits() - exponent_bias);
410 exponent = static_cast<int_type>(exponent + exponent_bias);
587 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h231 static const uint32_t exponent_bias = 0;
245 static const uint_type exponent_bias = 127;
259 static const uint_type exponent_bias = 1023;
273 static const uint_type exponent_bias = 15;
305 static const uint32_t exponent_bias = Traits::exponent_bias;
354 (exponent_mask >> num_fraction_bits) - exponent_bias;
356 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
376 return static_cast<int_type>(getExponentBits() - exponent_bias);
456 exponent = static_cast<int_type>(exponent + exponent_bias);
671 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h231 static const uint32_t exponent_bias = 0;
245 static const uint_type exponent_bias = 127;
259 static const uint_type exponent_bias = 1023;
273 static const uint_type exponent_bias = 15;
305 static const uint32_t exponent_bias = Traits::exponent_bias;
354 (exponent_mask >> num_fraction_bits) - exponent_bias;
356 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
376 return static_cast<int_type>(getExponentBits() - exponent_bias);
456 exponent = static_cast<int_type>(exponent + exponent_bias);
671 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dhex_float.h231 static const uint32_t exponent_bias = 0;
245 static const uint_type exponent_bias = 127;
259 static const uint_type exponent_bias = 1023;
273 static const uint_type exponent_bias = 15;
305 static const uint32_t exponent_bias = Traits::exponent_bias;
354 (exponent_mask >> num_fraction_bits) - exponent_bias;
356 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
376 return static_cast<int_type>(getExponentBits() - exponent_bias);
456 exponent = static_cast<int_type>(exponent + exponent_bias);
671 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/rust/crates/rand/src/distributions/
Dfloat.rs94 $fraction_bits:expr, $exponent_bias:expr) => {
101 (($exponent_bias + exponent) as $u_scalar) << $fraction_bits;
/external/fmtlib/include/fmt/
Dformat-inl.h1135 const int exponent_bias = (1 << exponent_size) - limits::max_exponent - 1; in assign() local
1148 e = biased_e - exponent_bias - float_significand_size; in assign()
2190 exponent += float_info<T>::exponent_bias - float_info<T>::significand_bits;
Dformat.h1217 static const int exponent_bias = -127;
1243 static const int exponent_bias = -1023;
/external/armnn/third-party/fmt/
Dformat-inl.h397 const int exponent_bias = (1 << exponent_size) - limits::max_exponent - 1; in assign() local
409 e = biased_e - exponent_bias - double_significand_size; in assign()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc141 APInt exponent_bias(nbits, 1); in EmitReducePrecisionIR() local
142 exponent_bias = (exponent_bias << (src_exponent_bits - 1)) - 1; in EmitReducePrecisionIR()
148 APInt reduced_max_exponent = exponent_bias + reduced_exponent_bias; in EmitReducePrecisionIR()
149 APInt reduced_min_exponent = exponent_bias - reduced_exponent_bias; in EmitReducePrecisionIR()
Dhlo_evaluator_typed_visitor.h2088 const Uint exponent_bias = (Uint{1} << (src_exponent_bits - 1)) - 1;
2092 exponent_bias + reduced_exponent_bias;
2094 exponent_bias - reduced_exponent_bias;
/external/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp786 ir_constant *exponent_bias = new(ir) ir_constant(-1022, vec_elem); in dfrexp_exp_to_arith() local
792 ir->operands[1] = add(exponent_bias, u2i(rshift(high_words, exponent_shift))); in dfrexp_exp_to_arith()
Dbuiltin_functions.cpp6994 ir_constant *exponent_bias = imm(-126, vec_elem); in _frexp() local
7008 body.emit(assign(exponent, add(exponent, csel(is_not_zero, exponent_bias, in _frexp()