Apparatus and method for efficiently calculating a linear address in a microprocessor
Abstract
A linear address generation apparatus is provided which adds the segment base address to the displacement provided in the instruction while the instruction is being decoded. The linear and logical address generation are combined. Whereas linear address generation may have formerly required 2-3 clock cycles, 1-2 clock cycles may be achieved using the apparatus disclosed herein. The reduced latency in generating linear addresses may lead to reduced data access latency, and further may lead to increased performance in a microprocessor employing the apparatus. Performance increases are derived from the reduced number of clock cycles required for execution of memory accesses, and due to instructions dependent upon the memory accesses receiving data more quickly. For embodiments of the microprocessor employing the x86 microprocessor architecture, the apparatus additionally detects an arithmetic carry from low order bits of the addition to higher order bits of the addition. If the microprocessor is executing in 16 bit addressing mode, the logical address is truncated to 16 bits prior to adding the address to the 32 bit segment base address. Because the additions performed in this embodime
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 11.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
An apparatus for computing a linear address, comprising: a plurality of registers configured to store a plurality of segment base addresses; a first adder circuit coupled to receive one of said plurality of segment base addresses from said plurality of segment registers, wherein said first adder circuit is configured to add said one of said plurality of segment base addresses to a displacement corresponding to an instruction, thereby producing a first sum; and a second adder circuit coupled to receive said first sum from said first adder circuit, wherein said second adder circuit is config
- Claim 2Depends on #1
The apparatus as recited in claim 1 further comprising a third adder circuit coupled to receive said second sum, wherein said third adder circui
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (2)
- IBM Technical Disclosure Bulletin, "Dual Load/Store Unit With a Single Port Cache", vol. 38, No. 8, Aug. 1995. pp. 11-15.
- IBM Technical Disclosure Bulletin, Dual Load/Store Unit With a Single Port Cache , vol. 38, No. 8, Aug. 1995. pp. 11 15.