Searched refs:lsbit (Results 1 – 7 of 7) sorted by relevance
22 const uint32_t lsbit) { in Bits64() argument23 assert(msbit < 64 && lsbit <= msbit); in Bits64()24 return (bits >> lsbit) & ((1ull << (msbit - lsbit + 1)) - 1); in Bits64()30 const uint32_t lsbit) { in Bits32() argument31 assert(msbit < 32 && lsbit <= msbit); in Bits32()32 return (bits >> lsbit) & ((1u << (msbit - lsbit + 1)) - 1); in Bits32()47 const uint32_t lsbit, const uint32_t val) { in SetBits32() argument48 assert(msbit < 32 && lsbit < 32 && msbit >= lsbit); in SetBits32()49 uint32_t mask = ((1u << (msbit - lsbit + 1)) - 1); in SetBits32()50 bits &= ~(mask << lsbit); in SetBits32()[all …]
147 const uint32_t lsbit = in SetRegisterInfo() local149 if (msbit != UINT32_MAX && lsbit != UINT32_MAX) { in SetRegisterInfo()150 if (msbit > lsbit) { in SetRegisterInfo()152 const uint32_t lsbyte = lsbit / 8; in SetRegisterInfo()158 if (msbit < max_bit && lsbit < max_bit) { in SetRegisterInfo()186 lsbit, max_bit); in SetRegisterInfo()194 msbit, lsbit); in SetRegisterInfo()198 lsbit); in SetRegisterInfo()
265 const uint32_t lsbit) { in bits() argument266 return Bits32(val, msbit, lsbit); in bits()
642 static inline uint64_t bits(uint64_t value, uint32_t msbit, uint32_t lsbit) { in bits() argument643 assert(msbit >= lsbit); in bits()647 value >>= shift_left + lsbit; // shift it back again down to the lsbit in bits()
794 static inline uint32_t bits(uint32_t value, uint32_t msbit, uint32_t lsbit) { in bits() argument795 assert(msbit >= lsbit); in bits()799 value >>= (shift_left + lsbit); // shift it back again down to the lsbit in bits()
157781 pulsebeat pˈəlsbit
132311 pulsebeat pˈəlsbit