Lines Matching defs:word
22 // The backend word type may vary depending on different microarchitectures.
39 T word;
41 // Check if any bit is set inside the word.
42 LIBC_INLINE constexpr bool any_bit_set() const { return word != 0; }
47 return cpp::countr_zero<T>(word) / WORD_STRIDE;
58 // Remove the last set bit inside the word:
59 // word = 011110100 (original value)
60 // word - 1 = 011110011 (invert all bits up to the last set bit)
61 // word & (word - 1) = 011110000 (value with the last bit cleared)
62 this->word = this->word & (this->word - 1);
77 return this->word == other.word;
80 return this->word != other.word;