Searched refs:unsignedT (Results 1 – 3 of 3) sorted by relevance
80 using unsignedT = typename std::make_unsigned<T>::type; in Abs() local81 unsignedT x = static_cast<unsignedT>(a); in Abs()82 unsignedT y = static_cast<unsignedT>(a >> (sizeof(T) * 8 - 1)); in Abs()
1096 using unsignedT = typename std::make_unsigned<T>::type; in ShiftOperand() typedef1106 return static_cast<unsignedT>(value) << amount; in ShiftOperand()1108 return static_cast<unsignedT>(value) >> amount; in ShiftOperand()1112 unsignedT mask = (static_cast<unsignedT>(1) << amount) - 1; in ShiftOperand()1113 return (static_cast<unsignedT>(value) >> amount) | in ShiftOperand()1127 using unsignedT = typename std::make_unsigned<T>::type; in ExtendValue() typedef1141 static_cast<T>(static_cast<unsignedT>(value) << kSignExtendBShift) >> in ExtendValue()1146 static_cast<T>(static_cast<unsignedT>(value) << kSignExtendHShift) >> in ExtendValue()1151 static_cast<T>(static_cast<unsignedT>(value) << kSignExtendWShift) >> in ExtendValue()1160 return static_cast<T>(static_cast<unsignedT>(value) << left_shift); in ExtendValue()[all …]
4224 using unsignedT = typename std::make_unsigned<T>::type; in ShiftByRegister() typedef4225 src[i] = static_cast<unsignedT>(src[i]) << shift_value; in ShiftByRegister()