Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/compiler/
Daco_ir.h1458 struct SubdwordSel { struct
1481 SubdwordSel() : sel((sdwa_sel)0) {} in SubdwordSel() function
1482 constexpr SubdwordSel(sdwa_sel sel_) : sel(sel_) {} in SubdwordSel() function
1483 constexpr SubdwordSel(unsigned size, unsigned offset, bool sign_extend) in SubdwordSel() function
1518 SubdwordSel sel[2];
1519 SubdwordSel dst_sel;
Daco_optimizer.cpp1024 SubdwordSel
1031 return SubdwordSel(size, offset, sext); in parse_extract()
1033 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword; in parse_extract()
1038 return SubdwordSel(size, offset, false); in parse_extract()
1041 return SubdwordSel(2, 2, false); in parse_extract()
1044 return SubdwordSel(); in parse_extract()
1047 SubdwordSel
1052 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword; in parse_insert()
1056 return SubdwordSel(size, offset, false); in parse_insert()
1058 return SubdwordSel(); in parse_insert()
[all …]
Daco_ir.cpp297 sdwa.sel[i] = SubdwordSel(instr->operands[i].bytes(), 0, false); in convert_to_SDWA()
300 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()
2272 sdwa.sel[0] = SubdwordSel(bits / 8, offset / 8, signext); in lower_to_hw_instr()
2310 SubdwordSel(bits / 8, offset / 8, false); in lower_to_hw_instr()
2327 .sel[1] = SubdwordSel::ubyte; in lower_to_hw_instr()
Daco_instruction_selection.cpp12272 instr->sdwa().sel[0] = SubdwordSel::ubyte1; in calc_nontrivial_instance_id()
12279 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;