Home
last modified time | relevance | path

Searched refs:mimg (Results 1 - 11 of 11) sorted by relevance

/third_party/mesa3d/src/amd/compiler/tests/
H A Dtest_insert_nops.cpp36 aco_ptr<MIMG_instruction> mimg{create_instruction<MIMG_instruction>( in create_mimg()
38 mimg->definitions[0] = Definition(PhysReg(256), v1); in create_mimg()
39 mimg->operands[0] = Operand(PhysReg(0), s8); in create_mimg()
40 mimg->operands[1] = Operand(PhysReg(0), s4); in create_mimg()
41 mimg->operands[2] = Operand(v1); in create_mimg()
43 mimg->operands[3 + i] = Operand(PhysReg(256 + (nsa ? i * 2 : i)), v1); in create_mimg()
44 mimg->dmask = 0x1; in create_mimg()
45 mimg->dim = ac_image_2d; in create_mimg()
47 assert(get_mimg_nsa_dwords(mimg.get()) + 2 == instr_dwords); in create_mimg()
49 bld.insert(std::move(mimg)); in create_mimg()
[all...]
H A Dtest_hard_clause.cpp70 aco_ptr<MIMG_instruction> mimg{create_instruction<MIMG_instruction>( in create_mimg()
72 mimg->definitions[0] = Definition(PhysReg(256), v1); in create_mimg()
73 mimg->operands[0] = Operand(desc); in create_mimg()
74 mimg->operands[0].setFixed(PhysReg(0)); in create_mimg()
75 mimg->operands[1] = Operand(PhysReg(0), s4); in create_mimg()
76 mimg->operands[2] = Operand(v1); in create_mimg()
78 mimg->operands[3 + i] = Operand(PhysReg(256 + (nsa ? i * 2 : i)), v1); in create_mimg()
79 mimg->dmask = 0x1; in create_mimg()
80 mimg->dim = ac_image_2d; in create_mimg()
82 bld.insert(std::move(mimg)); in create_mimg()
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_print_ir.cpp392 const MIMG_instruction& mimg = instr->mimg(); in print_instr_format_specific() local
395 if ((mimg.dmask & identity_dmask) != identity_dmask) in print_instr_format_specific()
396 fprintf(output, " dmask:%s%s%s%s", mimg.dmask & 0x1 ? "x" : "", in print_instr_format_specific()
397 mimg.dmask & 0x2 ? "y" : "", mimg.dmask & 0x4 ? "z" : "", in print_instr_format_specific()
398 mimg.dmask & 0x8 ? "w" : ""); in print_instr_format_specific()
399 switch (mimg.dim) { in print_instr_format_specific()
409 if (mimg.unrm) in print_instr_format_specific()
411 if (mimg in print_instr_format_specific()
[all...]
H A Daco_assembler.cpp454 MIMG_instruction& mimg = instr->mimg(); in emit_instruction() local
456 encoding |= mimg.slc ? 1 << 25 : 0; in emit_instruction()
459 encoding |= mimg.lwe ? 1 << 17 : 0; in emit_instruction()
460 encoding |= mimg.tfe ? 1 << 16 : 0; in emit_instruction()
461 encoding |= mimg.glc ? 1 << 13 : 0; in emit_instruction()
462 encoding |= mimg.unrm ? 1 << 12 : 0; in emit_instruction()
464 assert(!mimg.dlc); /* Device-level coherent is not supported on GFX9 and lower */ in emit_instruction()
465 assert(!mimg.r128); in emit_instruction()
466 encoding |= mimg in emit_instruction()
[all...]
H A Daco_opt_value_numbering.cpp268 MIMG_instruction& aM = a->mimg(); in operator ()()
269 MIMG_instruction& bM = b->mimg(); in operator ()()
H A Daco_validate.cpp646 check(instr->mimg().d16 || !instr->definitions[0].regClass().is_subdword(), in validate_ir()
648 check(instr->definitions[0].bytes() <= 8 || !instr->mimg().d16, in validate_ir()
904 assert(instr->mimg().d16); in get_subdword_bytes_written()
H A Daco_instruction_selection.cpp6065 aco_ptr<MIMG_instruction> mimg{
6068 mimg->definitions[0] = dst;
6069 mimg->operands[0] = Operand(rsrc);
6070 mimg->operands[1] = samp;
6071 mimg->operands[2] = vdata;
6073 mimg->operands[3 + i] = Operand(coords[i]);
6075 MIMG_instruction* res = mimg.get();
6076 bld.insert(std::move(mimg));
6106 MIMG_instruction* mimg = emit_mimg(bld, aco_opcode::image_bvh64_intersect_ray, Definition(dst),
6108 mimg
[all...]
H A Daco_ir.h1149 MIMG_instruction& mimg() noexcept
1154 const MIMG_instruction& mimg() const noexcept
H A Daco_ir.cpp192 case Format::MIMG: return instr->mimg().sync; in get_sync_info()
H A Daco_register_allocation.cpp232 } else if (instr->isMIMG() && instr->mimg().d16 && ctx.program->gfx_level <= GFX9) { in DefInfo()
241 bool imageGather4D16Bug = operand == -1 && rc == v2 && instr->mimg().dmask != 0xF; in DefInfo()
666 if (instr->isMIMG() && instr->mimg().d16 && !program->dev.sram_ecc_enabled) { in get_subdword_definition_info()
H A Daco_insert_exec_mask.cpp98 return instr->mimg().disable_wqm; in needs_exact()

Completed in 26 milliseconds