Lines Matching refs:SDWA
118 base_format = (Format)((uint32_t)base_format & ~(uint32_t)Format::SDWA);
150 /* check SDWA */
154 "Format cannot have SDWA applied", instr.get());
156 check(program->gfx_level >= GFX8, "SDWA is GFX8 to GFX10.3 only", instr.get());
157 check(program->gfx_level < GFX11, "SDWA is GFX8 to GFX10.3 only", instr.get());
160 check(sdwa.omod == 0 || program->gfx_level >= GFX9, "SDWA omod only supported on GFX9+",
164 "SDWA VOPC clamp only supported on GFX8", instr.get());
167 "SDWA+VOPC definition must be fixed to vcc on GFX8", instr.get());
170 check(def.bytes() <= 4, "SDWA definitions must not be larger than 4 bytes",
173 "SDWA definition selection size must be at most definition size", instr.get());
176 "SDWA definition selection size must be 1, 2 or 4 bytes", instr.get());
180 "SDWA dst_sel size must be definition size for subdword definitions",
183 "SDWA dst_sel offset must be 0 for subdword definitions", instr.get());
188 check(op.bytes() <= 4, "SDWA operands must not be larger than 4 bytes", instr.get());
190 "SDWA operand selection size must be at most operand size", instr.get());
192 "SDWA operand selection size must be 1, 2 or 4 bytes", instr.get());
198 "3rd operand must be fixed to vcc with SDWA", instr.get());
202 "2nd definition must be fixed to vcc with SDWA", instr.get());
222 check(sdwa_opcodes || feature_mac, "SDWA can't be used with this opcode", instr.get());