Lines Matching refs:lgkm
732 wait_imm::wait_imm() : vm(unset_counter), exp(unset_counter), lgkm(unset_counter), vs(unset_counter) in wait_imm()
735 : vm(vm_), exp(exp_), lgkm(lgkm_), vs(vs_) in wait_imm()
746 lgkm = (packed >> 8) & 0xf; in wait_imm()
748 lgkm |= (packed >> 8) & 0x30; in wait_imm()
759 assert(lgkm == unset_counter || lgkm <= 0x3f); in pack()
761 imm = ((vm & 0x30) << 10) | ((lgkm & 0x3f) << 8) | ((exp & 0x7) << 4) | (vm & 0xf); in pack()
764 assert(lgkm == unset_counter || lgkm <= 0xf); in pack()
766 imm = ((vm & 0x30) << 10) | ((lgkm & 0xf) << 8) | ((exp & 0x7) << 4) | (vm & 0xf); in pack()
769 assert(lgkm == unset_counter || lgkm <= 0xf); in pack()
771 imm = ((lgkm & 0xf) << 8) | ((exp & 0x7) << 4) | (vm & 0xf); in pack()
777 if (chip < GFX10 && lgkm == wait_imm::unset_counter) in pack()
786 bool changed = other.vm < vm || other.exp < exp || other.lgkm < lgkm || other.vs < vs; in combine()
789 lgkm = std::min(lgkm, other.lgkm); in combine()
797 return vm == unset_counter && exp == unset_counter && lgkm == unset_counter && in empty()