/external/deqp-deps/amber/src/ |
D | float16_helper.cc | 47 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/ |
D | lp_bld_format_float.c | 76 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 …]
|
D | lp_bld_format.h | 215 unsigned exponent_bits, 224 unsigned exponent_bits,
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | reduce_precision_test.cc | 460 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/ |
D | SkFloatUtils.h | 93 Bits exponent_bits() const { return kExponentBitMask & fU.bits; } 103 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_testutil_test.cc | 56 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/ |
D | float.rs | 100 let exponent_bits: $u_scalar = localVariable 102 $ty::from_bits(self | exponent_bits)
|
/external/tensorflow/tensorflow/compiler/tf2xla/python/ |
D | xla.py | 598 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/ |
D | xla_ops_test.py | 665 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/ |
D | gtest-internal.h | 418 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/ |
D | hlo_creation_utils.h | 177 int exponent_bits, int mantissa_bits,
|
D | shape_inference.h | 319 const int exponent_bits,
|
D | hlo_creation_utils.cc | 376 int exponent_bits, int mantissa_bits, in MakeReducePrecisionHlo() argument 380 exponent_bits, mantissa_bits), in MakeReducePrecisionHlo()
|
D | layout_normalization.cc | 201 new_unary = MakeReducePrecisionHlo(normalized_input, hlo->exponent_bits(), in HandleElementwiseUnary()
|
D | hlo_instructions.cc | 2303 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()
|
D | hlo_instruction.h | 675 const Shape& shape, HloInstruction* operand, const int exponent_bits, 2005 int32_t exponent_bits() const;
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ir/ |
D | mlir_hlo_builder.h | 186 const int exponent_bits,
|
D | mlir_hlo_builder.cc | 371 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/ |
D | gtest-internal.h | 313 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/ |
D | gtest-internal.h | 325 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/ |
D | gtest-internal.h | 325 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/ |
D | gtest-internal.h | 317 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/ |
D | gtest-internal.h | 317 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/ |
D | gtest-internal.h | 325 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/ |
D | gtest-internal.h | 325 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function 337 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
|