Multi-mode combined rotator
Abstract
A system and method for efficiently rotating data in a processor for multiple operand sizes. A processor comprises a rotator configured to support multiple operand sizes. The rotator receives a rotate amount and an input operand with a size less than a maximum operand size supported by the processor. The rotator generates a mask with a same size as the received input operand. The mask comprises a number of asserted most-significant bits equal to the rotate amount. The remaining bits in the mask are deasserted. For a given rotation result bit position with an associated asserted mask bit, the rotator selects a value in the input operand at a bit position with a distance from the given result bit position equal to the rotate amount plus a difference between the maximum operand size supported by the processor and the input operand size.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 1.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: detecting a rotate instruction indicating a rotate amount; in response to determining an operand of the rotate instruction corresponds to a first size, performing a rotate operation on the operand corresponding to the rotate amount; in response to determining the operand corresponds to a second size: performing a rotate operation on a first subset of bits of the operand in an amount equal to the rotate amount, the first subset of bits being a number of bits equal to a difference between the operand size and the rotate amount; and performing a rotate operation on a second s
- Claim 2Independent Claim
The method a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (2)
- Hayter, Mark; "Zen and the Art of SOC Design;" Microprocessor Summit, Apr. 2006, Session MPS-960 High End Processors, P.A. Semi, Inc.; pp. 1-14.
- Keller, James B.; "The PWRficient Processor Family;" PA Semi, Oct. 2005; pp. 1-31.