Lines Matching refs:mubuf
361 MUBUF_instruction* mubuf = static_cast<MUBUF_instruction*>(instr); in emit_instruction() local
364 encoding |= (mubuf->lds ? 1 : 0) << 16; in emit_instruction()
365 encoding |= (mubuf->glc ? 1 : 0) << 14; in emit_instruction()
366 encoding |= (mubuf->idxen ? 1 : 0) << 13; in emit_instruction()
367 assert(!mubuf->addr64 || ctx.chip_class <= GFX7); in emit_instruction()
369 encoding |= (mubuf->addr64 ? 1 : 0) << 15; in emit_instruction()
370 encoding |= (mubuf->offen ? 1 : 0) << 12; in emit_instruction()
372 assert(!mubuf->dlc); /* Device-level coherent is not supported on GFX9 and lower */ in emit_instruction()
373 encoding |= (mubuf->slc ? 1 : 0) << 17; in emit_instruction()
375 encoding |= (mubuf->dlc ? 1 : 0) << 15; in emit_instruction()
377 encoding |= 0x0FFF & mubuf->offset; in emit_instruction()
381 encoding |= (mubuf->slc ? 1 : 0) << 22; in emit_instruction()
384 encoding |= (mubuf->tfe ? 1 : 0) << 23; in emit_instruction()