/external/deqp-deps/amber/src/ |
D | float16_helper.cc | 46 uint32_t exponent_bits = ((hex_float >> 23U) & ((1U << 8U) - 1U)); in FloatExponent() local 48 if (exponent_bits == 0U) in FloatExponent() 50 uint32_t exponent = exponent_bits - 112U; in FloatExponent() 66 uint32_t exponent_bits = (static_cast<uint32_t>(value[1]) & 0x7c) >> 2U; in HexFloat16ToFloat() local 70 if (exponent_bits != 0U) { in HexFloat16ToFloat() 71 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() 526 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/skqp/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/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/mlir/xla/ir/ |
D | mlir_hlo_builder.h | 176 const int exponent_bits,
|
D | mlir_hlo_builder.cc | 277 const Shape& shape, XlaOp operand, const int exponent_bits, in ReducePrecisionInternal() argument 282 loc_, ty, GetValue(operand), builder_.getI32IntegerAttr(exponent_bits), in ReducePrecisionInternal()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | shape_inference.h | 288 const int exponent_bits,
|
D | hlo_instructions.cc | 2006 const Shape& shape, HloInstruction* operand, const int exponent_bits, in HloReducePrecisionInstruction() argument 2009 exponent_bits_(exponent_bits), in HloReducePrecisionInstruction() 2034 return exponent_bits() == casted_other.exponent_bits() && in IdenticalSlowPath() 2044 shape, new_operands[0], exponent_bits(), mantissa_bits()); in CloneWithNewOperandsImpl()
|
D | hlo_instruction.h | 625 const Shape& shape, HloInstruction* operand, const int exponent_bits, 1789 int32 exponent_bits() const;
|
D | hlo_instruction.cc | 393 shape, operands(0), proto.exponent_bits(), proto.mantissa_bits()); in CreateFromProto() 1037 const int exponent_bits, in CreateReducePrecision() argument 1040 shape, operand, exponent_bits, mantissa_bits); in CreateReducePrecision() 4095 int32 HloInstruction::exponent_bits() const { in exponent_bits() function in xla::HloInstruction 4096 return Cast<HloReducePrecisionInstruction>(this)->exponent_bits(); in exponent_bits()
|
D | hlo_instructions.h | 1128 const int exponent_bits, 1131 int32 exponent_bits() const { return exponent_bits_; } in exponent_bits() function
|
D | shape_inference.cc | 506 const Shape& operand_shape, const int exponent_bits, in InferReducePrecisionShape() argument 514 if (exponent_bits < 1) { in InferReducePrecisionShape() 519 exponent_bits); in InferReducePrecisionShape()
|
/external/llvm-project/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 337 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function 349 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
|
/external/libvpx/libvpx/third_party/googletest/src/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/rust/crates/quiche/deps/boringssl/src/third_party/googletest/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/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/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/ |
D | gtest-internal.h | 322 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function 334 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()
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | xla_builder.h | 839 XlaOp ReducePrecision(XlaOp operand, const int exponent_bits, 843 const int exponent_bits, 1390 friend XlaOp ReducePrecision(XlaOp operand, const int exponent_bits, 2437 XlaOp ReducePrecision(XlaOp operand, const int exponent_bits,
|
D | xla_builder.cc | 3118 XlaOp XlaBuilder::ReducePrecision(XlaOp operand, const int exponent_bits, in ReducePrecision() argument 3124 *operand_shape, exponent_bits, mantissa_bits)); in ReducePrecision() 3125 return ReducePrecisionInternal(shape, operand, exponent_bits, in ReducePrecision() 3132 const int exponent_bits, in ReducePrecisionInternal() argument 3136 instr.set_exponent_bits(exponent_bits); in ReducePrecisionInternal() 4869 XlaOp ReducePrecision(const XlaOp operand, const int exponent_bits, in ReducePrecision() argument 4871 return operand.builder()->ReducePrecision(operand, exponent_bits, in ReducePrecision()
|