Modulo addressing
Abstract
In one embodiment, a modulo addressing unit for a processor is described that includes a plurality of adders to generate an uncorrected target module address and at least one corrected target module address in parallel. A comparator selects one of the target module addresses a function of a base address (b) for a circular buffer, a length (L) of the circular buffer, an index address (I) and a modifier value (M). In one embodiment the comparator selects a first corrected target module address when I+M<B, a second corrected target module address when I+M>=B+L and an uncorrected module address when B<=I+M<B+L.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 9.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
An apparatus comprising: a plurality of adders electrically connected in a parallel structure and adapted to concurrently output an uncorrected target modulo address as a function of an index address and a modifier value and at least two corrected target modulo address as a function of the index address, the modifier value and a length value; and a comparator to select one of the target modulo addresses independent from a sign of the modifier value.
- Claim 2Depends on #1
The apparatus of claim 1 , wherein the plurality of adders comprise: a first adder adapted to output a first target modulo address equal to the index address plus the modifier value; a second adder adapted to output a second target modulo address equal to the index address plus the modifier value plus a length value; and a third adder ada
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗