Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_frexp.c130 nir_ssa_def *exponent_bias = nir_imm_intN_t(b, -14, 16); in lower_frexp_exp() local
136 nir_bcsel(b, is_not_zero, exponent_bias, zero))); in lower_frexp_exp()
141 nir_ssa_def *exponent_bias = nir_imm_int(b, -126); in lower_frexp_exp() local
144 nir_bcsel(b, is_not_zero, exponent_bias, zero)); in lower_frexp_exp()
149 nir_ssa_def *exponent_bias = nir_imm_int(b, -1022); in lower_frexp_exp() local
155 nir_bcsel(b, is_not_zero, exponent_bias, zero32)); in lower_frexp_exp()
/third_party/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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 …]
/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 …]
/third_party/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp571 ir_constant *exponent_bias = new(ir) ir_constant(-1022, vec_elem); in dfrexp_exp_to_arith() local
577 ir->operands[1] = add(exponent_bias, u2i(rshift(high_words, exponent_shift))); in dfrexp_exp_to_arith()
Dbuiltin_functions.cpp7720 ir_constant *exponent_bias = imm(-126, vec_elem); in _frexp() local
7734 body.emit(assign(exponent, add(exponent, csel(is_not_zero, exponent_bias, in _frexp()