Home
last modified time | relevance | path

Searched refs:SubdwordSel (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_optimizer.cpp788 SubdwordSel
795 return SubdwordSel(size, offset, sext); in parse_extract()
797 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword; in parse_extract()
799 return SubdwordSel(); in parse_extract()
803 SubdwordSel
808 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword; in parse_insert()
812 return SubdwordSel(size, offset, false); in parse_insert()
814 return SubdwordSel(); in parse_insert()
825 SubdwordSel sel = parse_extract(info.instr); in can_apply_extract()
835 if (instr->isSDWA() && instr->sdwa().sel[idx] != SubdwordSel::dword) in can_apply_extract()
[all …]
Daco_ir.h1419 struct SubdwordSel { struct
1442 SubdwordSel() : sel((sdwa_sel)0) {} in SubdwordSel() argument
1443 constexpr SubdwordSel(sdwa_sel sel_) : sel(sel_) {} in SubdwordSel() function
1444 constexpr SubdwordSel(unsigned size, unsigned offset, bool sign_extend) in SubdwordSel() function
1479 SubdwordSel sel[2];
1480 SubdwordSel dst_sel;
Daco_ir.cpp279 sdwa.sel[i] = SubdwordSel(instr->operands[i].bytes(), 0, false); in convert_to_SDWA()
282 sdwa.dst_sel = SubdwordSel(instr->definitions[0].bytes(), 0, false); in convert_to_SDWA()
Daco_lower_to_hw_instr.cpp520 sdwa->sel[0] = SubdwordSel(1, 0, sext); in emit_reduction()
521 sdwa->dst_sel = SubdwordSel::dword; in emit_reduction()
543 sdwa->sel[0] = SubdwordSel(2, 0, sext); in emit_reduction()
544 sdwa->dst_sel = SubdwordSel::dword; in emit_reduction()
2147 sdwa.sel[0] = SubdwordSel(bits / 8, offset / 8, signext); in lower_to_hw_instr()
2183 SubdwordSel(bits / 8, offset / 8, false); in lower_to_hw_instr()
2193 .sel[1] = SubdwordSel::ubyte; in lower_to_hw_instr()
Daco_instruction_selection.cpp11900 instr->sdwa().sel[0] = SubdwordSel::ubyte1; in calc_nontrivial_instance_id()
11907 instr->sdwa().sel[0] = SubdwordSel::ubyte2; in calc_nontrivial_instance_id()
/third_party/mesa3d/src/amd/compiler/tests/
Dtest_sdwa.cpp43 sdwa->sel[0] = SubdwordSel::sbyte2;
44 sdwa->sel[1] = SubdwordSel::uword1;