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.cc67 const uint32_t last_mantissa_bit_mask = 1u << (23 - mantissa_bits); in EmitReducePrecisionFloat() local
72 const uint32_t base_rounding_bias = (last_mantissa_bit_mask >> 1) - 1; in EmitReducePrecisionFloat()
75 x_as_int, llvm::ConstantInt::get(int_type, last_mantissa_bit_mask)), in EmitReducePrecisionFloat()
85 const uint32_t truncation_mask = ~(last_mantissa_bit_mask - 1); in EmitReducePrecisionFloat()
Dhlo_evaluator.cc1799 const uint32_t last_mantissa_bit_mask = 1u << (23 - mantissa_bits); in HandleReducePrecision() local
1805 (last_mantissa_bit_mask >> 1) - 1; in HandleReducePrecision()
1807 (value_as_int & last_mantissa_bit_mask) >> (23 - mantissa_bits); in HandleReducePrecision()
1815 const uint32_t truncation_mask = ~(last_mantissa_bit_mask - 1); in HandleReducePrecision()