Searched refs:val_sign (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | quantization_utils.h | 419 const int16x8_t val_sign = vshrq_n_s16(val, 15); in Divide16x8PowRound() local 420 const int16x8_t val_xor = veorq_s16(val, val_sign); in Divide16x8PowRound() 421 const int16x8_t val_pos = vsubq_s16(val_xor, val_sign); in Divide16x8PowRound() 423 const int16x8_t shifted_val_pos_xor = veorq_s16(shifted_val_pos, val_sign); in Divide16x8PowRound() 424 const int16x8_t shifted_val = vsubq_s16(shifted_val_pos_xor, val_sign); in Divide16x8PowRound() 431 const int64x2_t val_sign = vshrq_n_s64(val, 63); in Divide64x2PowRound() local 432 const int64x2_t val_xor = veorq_s64(val, val_sign); in Divide64x2PowRound() 433 const int64x2_t val_pos = vsubq_s64(val_xor, val_sign); in Divide64x2PowRound() 435 const int64x2_t shifted_val_pos_xor = veorq_s64(shifted_val_pos, val_sign); in Divide64x2PowRound() 436 const int64x2_t shifted_val = vsubq_s64(shifted_val_pos_xor, val_sign); in Divide64x2PowRound() [all …]
|
/external/v8/src/arm/ |
D | simulator-arm.cc | 3710 int val_sign = (val > 0) ? 1 : -1; in ConvertDoubleToInt() local 3712 result += val_sign; in ConvertDoubleToInt() 3715 result = ((result % 2) == 0) ? result : result + val_sign; in ConvertDoubleToInt()
|