Lines Matching refs:SDWA
118 base_format = (Format)((uint32_t)base_format & ~(uint32_t)Format::SDWA);
149 /* check SDWA */
153 "Format cannot have SDWA applied", instr.get());
155 check(program->chip_class >= GFX8, "SDWA is GFX8+ only", instr.get());
159 "SDWA omod only supported on GFX9+", instr.get());
162 "SDWA VOPC clamp only supported on GFX8", instr.get());
165 "SDWA+VOPC definition must be fixed to vcc on GFX8", instr.get());
168 check(def.bytes() <= 4, "SDWA definitions must not be larger than 4 bytes",
171 "SDWA definition selection size must be at most definition size", instr.get());
174 "SDWA definition selection size must be 1, 2 or 4 bytes", instr.get());
178 "SDWA dst_sel size must be definition size for subdword definitions",
181 "SDWA dst_sel offset must be 0 for subdword definitions", instr.get());
186 check(op.bytes() <= 4, "SDWA operands must not be larger than 4 bytes", instr.get());
188 "SDWA operand selection size must be at most operand size", instr.get());
190 "SDWA operand selection size must be 1, 2 or 4 bytes", instr.get());
196 "3rd operand must be fixed to vcc with SDWA", instr.get());
200 "2nd definition must be fixed to vcc with SDWA", instr.get());
220 check(sdwa_opcodes || feature_mac, "SDWA can't be used with this opcode", instr.get());