Home
last modified time | relevance | path

Searched refs:exponent_bits (Results 1 – 25 of 59) sorted by relevance

123

/external/deqp-deps/amber/src/
Dfloat16_helper.cc47 uint32_t exponent_bits = ((hex_float >> 23U) & ((1U << 8U) - 1U)); in FloatExponent() local
49 if (exponent_bits == 0U) in FloatExponent()
51 uint32_t exponent = exponent_bits - 112U; in FloatExponent()
67 uint32_t exponent_bits = (static_cast<uint32_t>(value[1]) & 0x7c) >> 2U; in HexFloat16ToFloat() local
71 if (exponent_bits != 0U) { in HexFloat16ToFloat()
72 exponent = (exponent_bits + 112U) << 23U; in HexFloat16ToFloat()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_float.c76 unsigned exponent_bits, in lp_build_float_to_smallfloat() argument
96 ((1 << exponent_bits) - 1) << 23); in lp_build_float_to_smallfloat()
131 ((1 << (exponent_bits - 1)) - 1) << 23); in lp_build_float_to_smallfloat()
137 (((1 << exponent_bits) - 2) << 23) | in lp_build_float_to_smallfloat()
198 unsigned maskbits = (1 << (mantissa_bits + exponent_bits)) - 1; in lp_build_float_to_smallfloat()
212 shift = lp_build_const_int_vec(gallivm, i32_type, 8 - exponent_bits); in lp_build_float_to_smallfloat()
285 unsigned exponent_bits, in lp_build_smallfloat_to_float() argument
309 ((1 << (mantissa_bits + exponent_bits)) - 1) in lp_build_smallfloat_to_float()
315 ((1 << exponent_bits) - 1) << 23); in lp_build_smallfloat_to_float()
335 (255 - (1 << (exponent_bits - 1))) << 23); in lp_build_smallfloat_to_float()
[all …]
Dlp_bld_format.h215 unsigned exponent_bits,
224 unsigned exponent_bits,
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_precision_test.cc460 void DoIt(int exponent_bits, int mantissa_bits,
495 int exponent_bits, int mantissa_bits, in DoIt() argument
499 exponent_bits, mantissa_bits)); in DoIt()
518 ReducePrecision(a, exponent_bits, mantissa_bits); in DoIt()
/external/skia/src/utils/
DSkFloatUtils.h93 Bits exponent_bits() const { return kExponentBitMask & fU.bits; }
103 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
/external/tensorflow/tensorflow/core/framework/
Dtensor_testutil_test.cc56 int exponent_bits = 2 + (log2(sizeof(U)) * 3); in dumpFloatingPointStorage() local
60 if (bits == 0 || bits == exponent_bits) std::cout << " "; in dumpFloatingPointStorage()
/external/rust/crates/rand/src/distributions/
Dfloat.rs100 let exponent_bits: $u_scalar = localVariable
102 $ty::from_bits(self | exponent_bits)
/external/tensorflow/tensorflow/compiler/tf2xla/python/
Dxla.py598 def reduce_precision(operand, exponent_bits, mantissa_bits): argument
599 return gen_xla_ops.xla_reduce_precision(operand, exponent_bits, mantissa_bits)
/external/tensorflow/tensorflow/compiler/tests/
Dxla_ops_test.py665 exponent_bits = 4
668 lambda x: xla.reduce_precision(x, exponent_bits, mantissa_bits),
676 exponent_bits = 2**33
679 lambda x: xla.reduce_precision(x, exponent_bits, mantissa_bits),
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h418 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
430 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_creation_utils.h177 int exponent_bits, int mantissa_bits,
Dshape_inference.h319 const int exponent_bits,
Dhlo_creation_utils.cc376 int exponent_bits, int mantissa_bits, in MakeReducePrecisionHlo() argument
380 exponent_bits, mantissa_bits), in MakeReducePrecisionHlo()
Dlayout_normalization.cc201 new_unary = MakeReducePrecisionHlo(normalized_input, hlo->exponent_bits(), in HandleElementwiseUnary()
Dhlo_instructions.cc2303 const Shape& shape, HloInstruction* operand, const int exponent_bits, in HloReducePrecisionInstruction() argument
2306 exponent_bits_(exponent_bits), in HloReducePrecisionInstruction()
2332 return exponent_bits() == casted_other.exponent_bits() && in IdenticalSlowPath()
2342 shape, new_operands[0], exponent_bits(), mantissa_bits()); in CloneWithNewOperandsImpl()
Dhlo_instruction.h675 const Shape& shape, HloInstruction* operand, const int exponent_bits,
2005 int32_t exponent_bits() const;
/external/tensorflow/tensorflow/compiler/mlir/xla/ir/
Dmlir_hlo_builder.h186 const int exponent_bits,
Dmlir_hlo_builder.cc371 const Shape& shape, XlaOp operand, const int exponent_bits, in ReducePrecisionInternal() argument
376 loc_, ty, GetValue(operand), builder_.getI32IntegerAttr(exponent_bits), in ReducePrecisionInternal()
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h313 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
325 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/cronet/third_party/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-internal.h325 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
337 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/cronet/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-internal.h325 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
337 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-internal.h317 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
329 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-internal.h317 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
329 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/
Dgtest-internal.h325 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
337 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/googletest/googletest/include/gtest/internal/
Dgtest-internal.h325 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
337 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()

123