Searched refs:unsignedT (Results 1 – 3 of 3) sorted by relevance
106 using unsignedT = typename std::make_unsigned<T>::type; in Abs() local107 unsignedT x = static_cast<unsignedT>(a); in Abs()108 unsignedT y = static_cast<unsignedT>(a >> (sizeof(T) * 8 - 1)); in Abs()
898 using unsignedT = typename std::make_unsigned<T>::type; in ShiftOperand() typedef908 return static_cast<unsignedT>(value) << amount; in ShiftOperand()910 return static_cast<unsignedT>(value) >> amount; in ShiftOperand()914 unsignedT mask = (static_cast<unsignedT>(1) << amount) - 1; in ShiftOperand()915 return (static_cast<unsignedT>(value) >> amount) | in ShiftOperand()929 using unsignedT = typename std::make_unsigned<T>::type; in ExtendValue() typedef943 static_cast<T>(static_cast<unsignedT>(value) << kSignExtendBShift) >> in ExtendValue()948 static_cast<T>(static_cast<unsignedT>(value) << kSignExtendHShift) >> in ExtendValue()953 static_cast<T>(static_cast<unsignedT>(value) << kSignExtendWShift) >> in ExtendValue()962 return static_cast<T>(static_cast<unsignedT>(value) << left_shift); in ExtendValue()[all …]
4172 using unsignedT = typename std::make_unsigned<T>::type; in ShiftByRegister() typedef4173 src[i] = static_cast<unsignedT>(src[i]) << shift_value; in ShiftByRegister()