Home
last modified time | relevance | path

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

/art/libartbase/base/
Dbit_utils.h329 inline static kind LowestOneBitValue(kind opnd) { in LowestOneBitValue() argument
331 return opnd & -opnd; in LowestOneBitValue()
336 inline static T HighestOneBitValue(T opnd) { in HighestOneBitValue() argument
339 if (opnd == 0) { in HighestOneBitValue()
342 int bit_position = BitSizeOf<T>() - (CLZ(static_cast<unsigned_type>(opnd)) + 1); in HighestOneBitValue()
350 inline static T Rot(T opnd, int distance) { in Rot() argument
355 return (static_cast<unsigned_type>(opnd) >> unsigned_right_shift) | (opnd << signed_left_shift); in Rot()
359 inline static uint32_t ReverseBits32(uint32_t opnd) { in ReverseBits32() argument
361 opnd = ((opnd >> 1) & 0x55555555) | ((opnd & 0x55555555) << 1); in ReverseBits32()
362 opnd = ((opnd >> 2) & 0x33333333) | ((opnd & 0x33333333) << 2); in ReverseBits32()
[all …]
Dutils.h140 inline static int32_t Signum(T opnd) { in Signum() argument
141 return (opnd < 0) ? -1 : ((opnd == 0) ? 0 : 1); in Signum()