Lines Matching refs:chip_class

15    enum chip_class chip_class;  member
21 asm_context(Program* program) : program(program), chip_class(program->chip_class) { in asm_context()
22 if (chip_class <= GFX7) in asm_context()
24 else if (chip_class <= GFX9) in asm_context()
26 else if (chip_class >= GFX10) in asm_context()
55 if (opcode >= 55 && ctx.chip_class <= GFX9) { in emit_instruction()
56 assert(ctx.chip_class == GFX9 && opcode < 60); in emit_instruction()
115 assert(ctx.chip_class >= GFX10); in emit_instruction()
119 assert(ctx.chip_class >= GFX10); in emit_instruction()
141 if (opcode >= 55 && ctx.chip_class <= GFX9) { in emit_instruction()
142 assert(ctx.chip_class == GFX9 && opcode < 60); in emit_instruction()
177 if (ctx.chip_class <= GFX7) { in emit_instruction()
197 if (ctx.chip_class <= GFX9) { in emit_instruction()
210 if (ctx.chip_class <= GFX9) { in emit_instruction()
214 if (ctx.chip_class == GFX9) { in emit_instruction()
229 uint32_t soffset = ctx.chip_class >= GFX10 in emit_instruction()
234 if (ctx.chip_class <= GFX9) { in emit_instruction()
248 …assert(ctx.chip_class >= GFX9); /* GFX8 and below don't support specifying a constant and an SGPR … in emit_instruction()
294 if (ctx.chip_class == GFX8 || ctx.chip_class == GFX9) { in emit_instruction()
296 } else if (ctx.chip_class >= GFX10) { in emit_instruction()
317 if (ctx.chip_class == GFX8 || ctx.chip_class == GFX9) { in emit_instruction()
339 if (ctx.chip_class == GFX8 || ctx.chip_class == GFX9) { in emit_instruction()
367 assert(!mubuf->addr64 || ctx.chip_class <= GFX7); in emit_instruction()
368 if (ctx.chip_class == GFX6 || ctx.chip_class == GFX7) in emit_instruction()
371 if (ctx.chip_class == GFX8 || ctx.chip_class == GFX9) { in emit_instruction()
374 } else if (ctx.chip_class >= GFX10) { in emit_instruction()
380 if (ctx.chip_class <= GFX7 || ctx.chip_class >= GFX10) { in emit_instruction()
395 uint32_t img_format = ac_get_tbuffer_format(ctx.chip_class, mtbuf->dfmt, mtbuf->nfmt); in emit_instruction()
398 assert(!mtbuf->dlc || ctx.chip_class >= GFX10); in emit_instruction()
406 if (ctx.chip_class == GFX8 || ctx.chip_class == GFX9) { in emit_instruction()
423 if (ctx.chip_class >= GFX10) { in emit_instruction()
439 if (ctx.chip_class <= GFX9) { in emit_instruction()
461 assert(!mimg->d16 || ctx.chip_class >= GFX9); in emit_instruction()
463 if (ctx.chip_class >= GFX10) { in emit_instruction()
476 if (ctx.chip_class <= GFX9) { in emit_instruction()
495 if (ctx.chip_class >= GFX10) { in emit_instruction()
508 assert(ctx.chip_class >= GFX10 || instr->operands[1].physReg() != 0x7F); in emit_instruction()
511 …} else if (instr->format != Format::FLAT || ctx.chip_class >= GFX10) { /* SADDR is actually used w… in emit_instruction()
512 if (ctx.chip_class <= GFX9) in emit_instruction()
524 if (ctx.chip_class == GFX8 || ctx.chip_class == GFX9) { in emit_instruction()
555 if (ctx.chip_class == GFX8 || ctx.chip_class == GFX9) in emit_instruction()
566 if (ctx.chip_class <= GFX9) { in emit_instruction()
568 } else if (ctx.chip_class >= GFX10) { in emit_instruction()
574 if (ctx.chip_class <= GFX7) { in emit_instruction()
604 if (ctx.chip_class == GFX9) { in emit_instruction()
606 } else if (ctx.chip_class >= GFX10) { in emit_instruction()
629 assert(ctx.chip_class >= GFX8); in emit_instruction()
642 if (ctx.chip_class >= GFX10) in emit_instruction()
881 if (ctx.chip_class == GFX10) in fix_branches()
935 if (program->chip_class >= GFX10) { in emit_program()