Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc94 APInt last_mantissa_bit_mask(nbits, 1); in EmitReducePrecisionIR() local
95 last_mantissa_bit_mask <<= src_mantissa_bits - dest_mantissa_bits; in EmitReducePrecisionIR()
100 APInt base_rounding_bias = last_mantissa_bit_mask.lshr(1) - 1; in EmitReducePrecisionIR()
103 llvm::ConstantInt::get(int_type, last_mantissa_bit_mask)), in EmitReducePrecisionIR()
113 APInt truncation_mask = ~(last_mantissa_bit_mask - 1); in EmitReducePrecisionIR()
Dhlo_evaluator_typed_visitor.h2585 const Uint last_mantissa_bit_mask =
2591 const Uint base_rounding_bias = (last_mantissa_bit_mask >> 1) - 1;
2593 (value_as_int & last_mantissa_bit_mask) >>
2602 const Uint truncation_mask = ~(last_mantissa_bit_mask - 1);