Lines Matching refs:sdwa
157 SDWA_instruction& sdwa = instr->sdwa();
158 check(sdwa.omod == 0 || program->chip_class >= GFX9,
161 check(sdwa.clamp == false || program->chip_class == GFX8,
170 check(def.bytes() >= sdwa.dst_sel.size() + sdwa.dst_sel.offset(),
173 sdwa.dst_sel.size() == 1 || sdwa.dst_sel.size() == 2 || sdwa.dst_sel.size() == 4,
175 check(sdwa.dst_sel.offset() % sdwa.dst_sel.size() == 0, "Invalid selection offset",
177 check(def.bytes() == 4 || def.bytes() == sdwa.dst_sel.size(),
180 check(def.bytes() == 4 || sdwa.dst_sel.offset() == 0,
187 check(op.bytes() >= sdwa.sel[i].size() + sdwa.sel[i].offset(),
189 check(sdwa.sel[i].size() == 1 || sdwa.sel[i].size() == 2 || sdwa.sel[i].size() == 4,
191 check(sdwa.sel[i].offset() % sdwa.sel[i].size() == 0, "Invalid selection offset",
731 return byte + instr->sdwa().sel[index].offset() + instr->sdwa().sel[index].size() <= 4 &&
732 byte % instr->sdwa().sel[index].size() == 0;
786 return byte + instr->sdwa().dst_sel.offset() + instr->sdwa().dst_sel.size() <= 4 &&
787 byte % instr->sdwa().dst_sel.size() == 0;
819 return instr->sdwa().dst_sel.size();