Searched refs:mubuf (Results 1 - 13 of 13) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_print_ir.cpp365 const MUBUF_instruction& mubuf = instr->mubuf(); local in function:aco::print_instr_format_specific
366 if (mubuf.offset)
367 fprintf(output, " offset:%u", mubuf.offset);
368 if (mubuf.offen)
370 if (mubuf.idxen)
372 if (mubuf.addr64)
374 if (mubuf.glc)
376 if (mubuf.dlc)
378 if (mubuf
[all...]
H A Daco_assembler.cpp381 MUBUF_instruction& mubuf = instr->mubuf(); local in function:aco::emit_instruction
384 encoding |= (mubuf.lds ? 1 : 0) << 16;
385 encoding |= (mubuf.glc ? 1 : 0) << 14;
386 encoding |= (mubuf.idxen ? 1 : 0) << 13;
387 assert(!mubuf.addr64 || ctx.chip_class <= GFX7);
389 encoding |= (mubuf.addr64 ? 1 : 0) << 15;
390 encoding |= (mubuf.offen ? 1 : 0) << 12;
392 assert(!mubuf.dlc); /* Device-level coherent is not supported on GFX9 and lower */
393 encoding |= (mubuf
[all...]
H A Daco_instruction_selection.cpp4063 aco_ptr<MUBUF_instruction> mubuf{create_instruction<MUBUF_instruction>(op, Format::MUBUF, 3, 1)}; local in function:aco::__anon562fcc110110::mubuf_load_callback
4064 mubuf->operands[0] = Operand(info.resource);
4065 mubuf->operands[1] = vaddr;
4066 mubuf->operands[2] = soffset;
4067 mubuf->offen = (offset.type() == RegType::vgpr);
4068 mubuf->glc = info.glc;
4069 mubuf->dlc = info.glc && bld.program->chip_class >= GFX10;
4070 mubuf->slc = info.slc;
4071 mubuf->sync = info.sync;
4072 mubuf
4138 aco_ptr<MUBUF_instruction> mubuf{ local in function:aco::__anon562fcc110110::global_load_callback
5194 Instruction* mubuf = bld.mubuf(opcode, Definition(fetch_dst), list, fetch_index, local in function:aco::__anon562fcc110110::visit_load_input
6377 aco_ptr<MUBUF_instruction> mubuf{create_instruction<MUBUF_instruction>( local in function:aco::__anon562fcc110110::visit_image_atomic
6661 aco_ptr<MUBUF_instruction> mubuf{ local in function:aco::__anon562fcc110110::visit_atomic_ssbo
6809 aco_ptr<MUBUF_instruction> mubuf{ local in function:aco::__anon562fcc110110::visit_store_global
6978 aco_ptr<MUBUF_instruction> mubuf{ local in function:aco::__anon562fcc110110::visit_global_atomic
7328 Instruction* mubuf = bld.mubuf(op, rsrc, offset, ctx->program->scratch_offset, write_data local in function:aco::__anon562fcc110110::visit_store_scratch
9577 aco_ptr<MUBUF_instruction> mubuf{ local in function:aco::__anon562fcc110110::visit_tex
[all...]
H A Daco_optimizer.cpp1094 MUBUF_instruction& mubuf = instr->mubuf(); local in function:aco::label_instruction
1106 bool vaddr_prevent_overflow = mubuf.swizzled && ctx.program->chip_class < GFX9;
1107 bool saddr_prevent_overflow = mubuf.swizzled;
1109 if (mubuf.offen && i == 1 && info.is_constant_or_literal(32) &&
1110 mubuf.offset + info.val < 4096) {
1111 assert(!mubuf.idxen);
1113 mubuf.offset += info.val;
1114 mubuf.offen = false;
1116 } else if (i == 2 && info.is_constant_or_literal(32) && mubuf
[all...]
H A Daco_opt_value_numbering.cpp252 MUBUF_instruction& aM = a->mubuf();
253 MUBUF_instruction& bM = b->mubuf();
H A Daco_spill.cpp1682 bld.mubuf(opcode, scratch_rsrc, Operand(v1), scratch_offset,
1684 instr->mubuf().sync = memory_sync_info(storage_vgpr_spill, semantic_private);
1687 Instruction* instr = bld.mubuf(opcode, scratch_rsrc, Operand(v1), scratch_offset,
1689 instr->mubuf().sync = memory_sync_info(storage_vgpr_spill, semantic_private);
1766 bld.mubuf(opcode, Definition(tmp), scratch_rsrc, Operand(v1),
1768 instr->mubuf().sync = memory_sync_info(storage_vgpr_spill, semantic_private);
1772 Instruction* instr = bld.mubuf(opcode, def, scratch_rsrc, Operand(v1),
1774 instr->mubuf().sync = memory_sync_info(storage_vgpr_spill, semantic_private);
H A Daco_ir.cpp173 case Format::MUBUF: return instr->mubuf().sync;
806 a->isMUBUF() ? a->mubuf().vtx_binding : (a->isMTBUF() ? a->mtbuf().vtx_binding : 0);
808 b->isMUBUF() ? b->mubuf().vtx_binding : (b->isMTBUF() ? b->mtbuf().vtx_binding : 0);
H A Daco_insert_NOPs.cpp802 uint32_t offset = instr->isMUBUF() ? instr->mubuf().offset : instr->mtbuf().offset;
H A Daco_ir.h1120 MUBUF_instruction& mubuf() noexcept function in struct:aco::Instruction
1125 const MUBUF_instruction& mubuf() const noexcept function in struct:aco::Instruction
H A Daco_insert_exec_mask.cpp103 return instr->mubuf().disable_wqm;
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/
H A Dtest_hard_clause.cpp33 bld.mubuf(aco_opcode::buffer_load_dword, Definition(PhysReg(256), v1), desc_op,
35 .instr->mubuf()
41 bld.mubuf(aco_opcode::buffer_store_dword, Operand(PhysReg(0), s4), Operand(PhysReg(256), v1),
H A Dtest_insert_nops.cpp30 bld.mubuf(aco_opcode::buffer_load_dword, Definition(PhysReg(256), v1), Operand(PhysReg(0), s4),
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.3.0.rst4104 - aco: use mubuf helper in select_gs_copy_shader

Completed in 36 milliseconds