Home
last modified time | relevance | path

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

/aosp_15_r20/external/mesa3d/src/amd/compiler/
H A Daco_ir.h1481 struct SubdwordSel { struct
1504 SubdwordSel() : sel((sdwa_sel)0) {} in SubdwordSel() argument
1505 constexpr SubdwordSel(sdwa_sel sel_) : sel(sel_) {} in SubdwordSel() argument
1506 constexpr SubdwordSel(unsigned size, unsigned offset, bool sign_extend) in SubdwordSel() function
1509 constexpr operator sdwa_sel() const { return sel; } in sdwa_sel()
1512 constexpr unsigned size() const { return (sel >> 2) & 0x7; } in size()
1513 constexpr unsigned offset() const { return sel & 0x3; } in offset()
1514 constexpr bool sign_extend() const { return sel & sext; } in sign_extend()
1515 constexpr unsigned to_sdwa_sel(unsigned reg_byte_offset) const in to_sdwa_sel()