Lines Matching refs:reg_b
435 explicit constexpr PhysReg(unsigned r) : reg_b(r << 2) {}
436 constexpr unsigned reg() const { return reg_b >> 2; }
437 constexpr unsigned byte() const { return reg_b & 0x3; }
439 constexpr bool operator==(PhysReg other) const { return reg_b == other.reg_b; }
440 constexpr bool operator!=(PhysReg other) const { return reg_b != other.reg_b; }
441 constexpr bool operator<(PhysReg other) const { return reg_b < other.reg_b; }
445 res.reg_b += bytes;
449 uint16_t reg_b = 0;