Home
last modified time | relevance | path

Searched refs:exponent_bits (Results 1 – 25 of 35) 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.h188 unsigned exponent_bits,
197 unsigned exponent_bits,
/external/tensorflow/tensorflow/compiler/xla/service/
Dreduce_precision_insertion.h40 const int exponent_bits, const int mantissa_bits, in ReducePrecisionInsertion() argument
43 : exponent_bits_(exponent_bits), in ReducePrecisionInsertion()
53 : exponent_bits_(reduce_precision_options.exponent_bits()), in ReducePrecisionInsertion()
75 const int exponent_bits, const int mantissa_bits,
128 instruction->exponent_bits() <= exponent_bits_ && in is_redundant()
Dreduce_precision_insertion.cc141 user->exponent_bits() == exponent_bits_ && in insert_on_inputs()
267 const HloReducePrecisionOptions::Location location, const int exponent_bits, in make_options_proto() argument
273 options.set_exponent_bits(exponent_bits); in make_options_proto()
Dshape_inference.h259 const int exponent_bits,
Dhlo_instructions.cc1731 const Shape& shape, HloInstruction* operand, const int exponent_bits, in HloReducePrecisionInstruction() argument
1734 exponent_bits_(exponent_bits), in HloReducePrecisionInstruction()
1759 return exponent_bits() == casted_other.exponent_bits() && in IdenticalSlowPath()
1769 shape, new_operands[0], exponent_bits(), mantissa_bits()); in CloneWithNewOperandsImpl()
Dhlo_instruction.h471 const Shape& shape, HloInstruction* operand, const int exponent_bits,
1504 int32 exponent_bits() const;
Dhlo_instruction.cc356 shape, operands(0), proto.exponent_bits(), proto.mantissa_bits()); in CreateFromProto()
826 const int exponent_bits, in CreateReducePrecision() argument
829 shape, operand, exponent_bits, mantissa_bits); in CreateReducePrecision()
3388 int32 HloInstruction::exponent_bits() const { in exponent_bits() function in xla::HloInstruction
3389 return Cast<HloReducePrecisionInstruction>(this)->exponent_bits(); in exponent_bits()
Delemental_ir_emitter.cc65 llvm::Value* EmitReducePrecisionFloat(llvm::Value* x, int64 exponent_bits, in EmitReducePrecisionFloat() argument
101 if (exponent_bits < 8) { in EmitReducePrecisionFloat()
119 const uint32_t reduced_exponent_bias = (1 << (exponent_bits - 1)) - 1; in EmitReducePrecisionFloat()
1166 return EmitReducePrecisionFloat(x, /*exponent_bits=*/hlo->exponent_bits(), in EmitReducePrecision()
Dhlo_instructions.h936 const int exponent_bits,
939 int32 exponent_bits() const { return exponent_bits_; } in exponent_bits() function
/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/
Ddebug_options_parsers_test.cc45 EXPECT_EQ(proto.exponent_bits(), 5); in TEST()
60 EXPECT_EQ(proto.exponent_bits(), 5); in TEST()
75 EXPECT_EQ(proto.exponent_bits(), 5); in TEST()
88 EXPECT_EQ(proto.exponent_bits(), 5); in TEST()
/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/compiler/xla/tests/
Dreduce_precision_test.cc209 int exponent_bits = exponent_sizes[index]; in XLA_TEST_P() local
237 ReducePrecision(a, exponent_bits, mantissa_bits); in XLA_TEST_P()
/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/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/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h409 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
421 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/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/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/libaom/libaom/third_party/googletest/src/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/mesa3d/src/gtest/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/googletest/googletest/include/gtest/internal/
Dgtest-internal.h314 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() function
326 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0); in is_nan()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h540 XlaOp ReducePrecision(const XlaOp& operand, const int exponent_bits,
966 friend XlaOp ReducePrecision(const XlaOp& operand, const int exponent_bits,
1811 XlaOp ReducePrecision(const XlaOp& operand, const int exponent_bits,

12