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.h197 static const uint32_t exponent_bias = 0;
211 static const uint_type exponent_bias = 127;
225 static const uint_type exponent_bias = 1023;
239 static const uint_type exponent_bias = 15;
270 static const uint32_t exponent_bias = Traits::exponent_bias;
320 (exponent_mask >> num_fraction_bits) - exponent_bias;
322 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
343 return static_cast<int_type>(getExponentBits() - exponent_bias);
423 exponent = static_cast<int_type>(exponent + exponent_bias);
600 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
Dhex_float.h197 static const uint32_t exponent_bias = 0;
211 static const uint_type exponent_bias = 127;
225 static const uint_type exponent_bias = 1023;
239 static const uint_type exponent_bias = 15;
270 static const uint32_t exponent_bias = Traits::exponent_bias;
320 (exponent_mask >> num_fraction_bits) - exponent_bias;
322 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
343 return static_cast<int_type>(getExponentBits() - exponent_bias);
423 exponent = static_cast<int_type>(exponent + exponent_bias);
600 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dhex_float.h230 static const uint32_t exponent_bias = 0;
244 static const uint_type exponent_bias = 127;
258 static const uint_type exponent_bias = 1023;
272 static const uint_type exponent_bias = 15;
304 static const uint32_t exponent_bias = Traits::exponent_bias;
353 (exponent_mask >> num_fraction_bits) - exponent_bias;
355 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
375 return static_cast<int_type>(getExponentBits() - exponent_bias);
455 exponent = static_cast<int_type>(exponent + exponent_bias);
670 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dhex_float.h230 static const uint32_t exponent_bias = 0;
244 static const uint_type exponent_bias = 127;
258 static const uint_type exponent_bias = 1023;
272 static const uint_type exponent_bias = 15;
304 static const uint32_t exponent_bias = Traits::exponent_bias;
353 (exponent_mask >> num_fraction_bits) - exponent_bias;
355 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
375 return static_cast<int_type>(getExponentBits() - exponent_bias);
455 exponent = static_cast<int_type>(exponent + exponent_bias);
670 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/deqp-deps/SPIRV-Tools/source/util/
Dhex_float.h230 static const uint32_t exponent_bias = 0;
244 static const uint_type exponent_bias = 127;
258 static const uint_type exponent_bias = 1023;
272 static const uint_type exponent_bias = 15;
304 static const uint32_t exponent_bias = Traits::exponent_bias;
353 (exponent_mask >> num_fraction_bits) - exponent_bias;
355 static const int_type min_exponent = -static_cast<int_type>(exponent_bias);
375 return static_cast<int_type>(getExponentBits() - exponent_bias);
455 exponent = static_cast<int_type>(exponent + exponent_bias);
670 ((exponent + carried) > static_cast<int_type>(other_T::exponent_bias) ||
[all …]
/external/tensorflow/tensorflow/lite/micro/
Dmicro_string.cc127 const int32_t exponent_bias = 127; in FastFloatToBufferLeft() local
132 ((u & exponent_mask) >> exponent_shift) - exponent_bias; in FastFloatToBufferLeft()
/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/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc139 APInt exponent_bias(nbits, 1); in EmitReducePrecisionIR() local
140 exponent_bias = (exponent_bias << (src_exponent_bits - 1)) - 1; in EmitReducePrecisionIR()
146 APInt reduced_max_exponent = exponent_bias + reduced_exponent_bias; in EmitReducePrecisionIR()
147 APInt reduced_min_exponent = exponent_bias - reduced_exponent_bias; in EmitReducePrecisionIR()
Dhlo_evaluator_typed_visitor.h2624 const Uint exponent_bias = (Uint{1} << (src_exponent_bits - 1)) - 1;
2628 exponent_bias + reduced_exponent_bias;
2630 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()