Searched refs:SubdwordSel (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/amd/compiler/ |
D | aco_ir.h | 1458 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;
|
D | aco_optimizer.cpp | 1024 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 …]
|
D | aco_ir.cpp | 297 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()
|
D | aco_lower_to_hw_instr.cpp | 520 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()
|
D | aco_instruction_selection.cpp | 12272 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/ |
D | test_sdwa.cpp | 43 sdwa->sel[0] = SubdwordSel::sbyte2; 44 sdwa->sel[1] = SubdwordSel::uword1;
|