Home
last modified time | relevance | path

Searched refs:src_mantissa_bits (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h2568 const uint32 src_mantissa_bits =
2571 8 * sizeof(NativeT) - src_mantissa_bits - 1;
2584 if (dest_mantissa_bits < src_mantissa_bits) {
2586 Uint{1} << (src_mantissa_bits - dest_mantissa_bits);
2594 (src_mantissa_bits - dest_mantissa_bits);
2610 << src_mantissa_bits;
2635 x_exponent > (reduced_max_exponent << src_mantissa_bits);
2637 x_exponent <= (reduced_min_exponent << src_mantissa_bits);
Delemental_ir_emitter.cc86 int src_mantissa_bits = primitive_util::SignificandWidth(src_ty) - 1; in EmitReducePrecisionIR() local
87 int src_exponent_bits = nbits - 1 - src_mantissa_bits; in EmitReducePrecisionIR()
92 if (dest_mantissa_bits < src_mantissa_bits) { in EmitReducePrecisionIR()
95 last_mantissa_bit_mask <<= src_mantissa_bits - dest_mantissa_bits; in EmitReducePrecisionIR()
104 (src_mantissa_bits - dest_mantissa_bits)); in EmitReducePrecisionIR()
125 << src_mantissa_bits; in EmitReducePrecisionIR()
154 int_type, reduced_max_exponent << src_mantissa_bits)); in EmitReducePrecisionIR()
157 int_type, reduced_min_exponent << src_mantissa_bits)); in EmitReducePrecisionIR()