Searched refs:dstform (Results 1 – 2 of 2) sorted by relevance
1709 LogicVRegister Simulator::ExtractNarrow(VectorFormat dstform, in ExtractNarrow() argument1718 switch (dstform) { in ExtractNarrow()1766 offset = LaneCountFromFormat(dstform) / 2; in ExtractNarrow()1769 dst.ClearForWrite(dstform); in ExtractNarrow()1774 if (ssrc[i] > MaxIntFromFormat(dstform)) { in ExtractNarrow()1776 } else if (ssrc[i] < MinIntFromFormat(dstform)) { in ExtractNarrow()1782 if (ssrc[i] > static_cast<int64_t>(MaxUintFromFormat(dstform))) { in ExtractNarrow()1788 if (usrc[i] > MaxUintFromFormat(dstform)) { in ExtractNarrow()1795 result = ssrc[i] & MaxUintFromFormat(dstform); in ExtractNarrow()1797 result = usrc[i] & MaxUintFromFormat(dstform); in ExtractNarrow()[all …]
1899 LogicVRegister Simulator::extractnarrow(VectorFormat dstform, in extractnarrow() argument1909 switch (dstform) { in extractnarrow()1957 offset = LaneCountFromFormat(dstform) / 2; in extractnarrow()1960 dst.ClearForWrite(dstform); in extractnarrow()1965 if (ssrc[i] > MaxIntFromFormat(dstform)) { in extractnarrow()1967 } else if (ssrc[i] < MinIntFromFormat(dstform)) { in extractnarrow()1973 if (ssrc[i] > static_cast<int64_t>(MaxUintFromFormat(dstform))) { in extractnarrow()1979 if (usrc[i] > MaxUintFromFormat(dstform)) { in extractnarrow()1986 result = ssrc[i] & MaxUintFromFormat(dstform); in extractnarrow()1988 result = usrc[i] & MaxUintFromFormat(dstform); in extractnarrow()[all …]