Lines Matching defs:chip
185 can_use_SDWA(chip_class chip, const aco_ptr<Instruction>& instr, bool pre_ra)
190 if (chip < GFX8 || instr->isDPP() || instr->isVOP3P())
200 if (vop3.clamp && instr->isVOPC() && chip != GFX8)
202 if (vop3.omod && chip < GFX9)
212 if (chip < GFX9 && !instr->operands[i].isOfType(RegType::vgpr))
223 if (chip < GFX9 && !instr->operands[0].isOfType(RegType::vgpr))
234 if (chip != GFX8 && is_mac)
238 if (!pre_ra && instr->isVOPC() && chip == GFX8)
251 convert_to_SDWA(chip_class chip, aco_ptr<Instruction>& instr)
284 if (instr->definitions[0].getTemp().type() == RegType::sgpr && chip == GFX8)
369 can_use_opsel(chip_class chip, aco_opcode op, int idx, bool high)
372 if ((high || idx == -1) && chip < GFX9)
412 instr_is_16bit(chip_class chip, aco_opcode op)
415 if (chip < GFX9)
430 case aco_opcode::v_madmk_f16: return chip >= GFX9;
458 case aco_opcode::v_cos_f16: return chip >= GFX10;
466 default: return chip >= GFX10 && can_use_opsel(chip, op, -1, false);
738 wait_imm::wait_imm(enum chip_class chip, uint16_t packed) : vs(unset_counter)
741 if (chip >= GFX9)
747 if (chip >= GFX10)
752 wait_imm::pack(enum chip_class chip) const
756 switch (chip) {
774 if (chip < GFX9 && vm == wait_imm::unset_counter)
777 if (chip < GFX10 && lgkm == wait_imm::unset_counter)