Microprocessor instructions for efficient bit stream extractions
Abstract
A method of extracting bits of a bit stream including retrieving bits from the bit stream into an accumulator, specifying a size value specifying a number of bits to extract, storing a position value into a control register, and executing a bit extraction instruction. The bit extraction instruction includes copying the size value number of bits from the accumulator beginning at the position value into a target register, setting any remaining bits of the target register to zero, and decrementing the position value by an amount based on the size value. The method may include loading bits from a bit stream into a register and moving the contents of the register into the accumulator to replenish the accumulator. The method may include determining, based on the position value, whether the accumulator needs to be replenished, and if not, branching to bypass replenishing functions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 12.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A processor configured to perform efficient bit stream extraction, comprising: a plurality of registers including a first register that stores bits copied from a bit stream, a second register that stores a position value, and a third register; and logic that executes an extraction instruction that causes said logic to extract a specified number of bits beginning at said position value from said first register into said third register and to decrement said position value in said second register by said specified number of bits.
- Claim 2Depends on #1
The processor of claim 1 , wherein said first register comprises an accumulator, said second register comprises a control register, and said third register comprises a general purpose register.
- Claim 3Depends on #2
The processor of claim 2 , wherein said accumulator comprises a HI-LO pair of registers.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (3)
- James Ross Goodman: "Energy Scalable Reconfigurable Cryptographic Hardware for Portable Applications." pp. 141, 142 & 147. Aug. 2000.
- LEXRA LX5280 Data Sheet; Lexra, Inc., Release 1.9; Apr. 30, 2001. Introduction, Chapters 2 and 5.
- LEXTR LX5380 Delta Data Sheet; Lexra, Inc., Revision 1.1. (DRAFT), Nov. 16, 2001; Appendix A, p. A.1, A.2, and A.5.