Home
last modified time | relevance | path

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

12

/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/u-boot/lib/rsa/
Drsa-mod-exp.c136 int exponent_bits; in num_public_exponent_bits() local
140 exponent_bits = 0; in num_public_exponent_bits()
143 *num_bits = exponent_bits; in num_public_exponent_bits()
147 for (exponent_bits = 1; exponent_bits < max_bits + 1; ++exponent_bits) in num_public_exponent_bits()
149 *num_bits = exponent_bits; in num_public_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()
526 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/skqp/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.cc54 int exponent_bits = 2 + (log2(sizeof(U)) * 3); in dumpFloatingPointStorage() local
58 if (bits == 0 || bits == exponent_bits) std::cout << " "; in dumpFloatingPointStorage()
/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/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-internal.h389 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
401 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference.h264 const int exponent_bits,
Dhlo_instructions.cc1854 const Shape& shape, HloInstruction* operand, const int exponent_bits, in HloReducePrecisionInstruction() argument
1857 exponent_bits_(exponent_bits), in HloReducePrecisionInstruction()
1882 return exponent_bits() == casted_other.exponent_bits() && in IdenticalSlowPath()
1892 shape, new_operands[0], exponent_bits(), mantissa_bits()); in CloneWithNewOperandsImpl()
Dhlo_instruction.h591 const Shape& shape, HloInstruction* operand, const int exponent_bits,
1687 int32 exponent_bits() const;
Dhlo_instruction.cc366 shape, operands(0), proto.exponent_bits(), proto.mantissa_bits()); in CreateFromProto()
904 const int exponent_bits, in CreateReducePrecision() argument
907 shape, operand, exponent_bits, mantissa_bits); in CreateReducePrecision()
3733 int32 HloInstruction::exponent_bits() const { in exponent_bits() function in xla::HloInstruction
3734 return Cast<HloReducePrecisionInstruction>(this)->exponent_bits(); in exponent_bits()
Dhlo_instructions.h1013 const int exponent_bits,
1016 int32 exponent_bits() const { return exponent_bits_; } in exponent_bits() function
Dhlo.proto103 int32 exponent_bits = 18; field
Dshape_inference.cc480 const Shape& operand_shape, const int exponent_bits, in InferReducePrecisionShape() argument
488 if (exponent_bits < 1) { in InferReducePrecisionShape()
493 exponent_bits); in InferReducePrecisionShape()
Dhlo_parser.cc1505 optional<int64> exponent_bits; in ParseInstructionRhs() local
1508 &exponent_bits}; in ParseInstructionRhs()
1517 shape, operands[0], static_cast<int>(*exponent_bits), in ParseInstructionRhs()
Dhlo_verifier.cc303 reduce_precision->exponent_bits(), in HandleReducePrecision()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h337 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/
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/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/googletest/googletest/include/gtest/internal/
Dgtest-internal.h323 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
335 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-internal.h322 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
334 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h579 XlaOp ReducePrecision(XlaOp operand, const int exponent_bits,
1002 friend XlaOp ReducePrecision(XlaOp operand, const int exponent_bits,
1878 XlaOp ReducePrecision(XlaOp operand, const int exponent_bits,
Dxla_builder.cc2324 XlaOp XlaBuilder::ReducePrecision(XlaOp operand, const int exponent_bits, in ReducePrecision() argument
2331 *operand_shape, exponent_bits, mantissa_bits)); in ReducePrecision()
2333 instr.set_exponent_bits(exponent_bits); in ReducePrecision()
3484 XlaOp ReducePrecision(const XlaOp operand, const int exponent_bits, in ReducePrecision() argument
3486 return operand.builder()->ReducePrecision(operand, exponent_bits, in ReducePrecision()

12