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

/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_optimizer.cpp788 SubdwordSel
795 return SubdwordSel(size, offset, sext);
797 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword;
799 return SubdwordSel();
803 SubdwordSel
808 return instr->operands[2].constantEquals(8) ? SubdwordSel::ubyte : SubdwordSel::uword;
812 return SubdwordSel(size, offset, false);
814 return SubdwordSel();
[all...]
H A Daco_ir.h1419 struct SubdwordSel { struct in namespace:aco
1442 SubdwordSel() : sel((sdwa_sel)0) {} function in struct:aco::SubdwordSel
1443 constexpr SubdwordSel(sdwa_sel sel_) : sel(sel_) {} function in struct:aco::SubdwordSel
1444 constexpr SubdwordSel(unsigned size, unsigned offset, bool sign_extend) function in struct:aco::SubdwordSel
1479 SubdwordSel sel[2];
1480 SubdwordSel dst_sel;
H A Daco_ir.cpp279 sdwa.sel[i] = SubdwordSel(instr->operands[i].bytes(), 0, false);
282 sdwa.dst_sel = SubdwordSel(instr->definitions[0].bytes(), 0, false);
H A Daco_lower_to_hw_instr.cpp520 sdwa->sel[0] = SubdwordSel(1, 0, sext);
521 sdwa->dst_sel = SubdwordSel::dword;
543 sdwa->sel[0] = SubdwordSel(2, 0, sext);
544 sdwa->dst_sel = SubdwordSel::dword;
2147 sdwa.sel[0] = SubdwordSel(bits / 8, offset / 8, signext);
2183 SubdwordSel(bits / 8, offset / 8, false);
2193 .sel[1] = SubdwordSel::ubyte;
H A Daco_instruction_selection.cpp11896 instr->sdwa().sel[0] = SubdwordSel::ubyte1;
11903 instr->sdwa().sel[0] = SubdwordSel::ubyte2;
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/
H A Dtest_sdwa.cpp43 sdwa->sel[0] = SubdwordSel::sbyte2;
44 sdwa->sel[1] = SubdwordSel::uword1;

Completed in 33 milliseconds