Methods and apparatus for extracting bits of a source register based on a mask and right justifying the bits into a target register
Abstract
Techniques for performing a bit rake instruction in a programmable processor. The bit rake instruction extracts an arbitrary pattern of bits from a source register, based on a mask provided in another register, and packs and right justifies the bits into a target register. The bit rake instruction allows any set of bits from the source register to be packed together.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus for extracting a pattern of data bits and packing the extracted pattern of data bits in a right justified format, the apparatus comprising: a data register; a target register; an adder tree for computing a plurality of count values of a number of asserted mask bits in non-overlapping groups of mask bits within stages of the adder tree; a mask path for combining pairs of adjacent groups of mask bits within stages of the mask path corresponding to the stages of the adder tree by utilizing the plurality of count values within corresponding stages of the mask path to realign within th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (2)
- Aspnes, James, Herlihy, Maurice, Shavit, Nir. "Counting Networks" Journal of the Association for Computing Machinery, Sep. 1994, vol. 41 No. 5, pp. 1020-1048.
- Hillis, W. Daniel, Steele Jr., Guy L. "Data Parallel Algorithms" Communications of the ACM, Dec. 1986, vol. 29 No. 12, pp. 1170-1183.