Power efficient instruction prefetch mechanism
Abstract
A processor includes a conditional branch instruction prediction mechanism that generates weighted branch prediction values. For weakly weighted predictions, which tend to be less accurate than strongly weighted predictions, the power associating with speculatively filling and subsequently flushing the cache is saved by halting instruction prefetching. Instruction fetching continues when the branch condition is evaluated in the pipeline and the actual next address is known. Alternatively, prefetching may continue out of a cache. To avoid displacing good cache data with instructions prefetched based on a mispredicted branch, prefetching may be halted in response to a weakly weighted prediction in the event of a cache miss.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 13.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A processor, comprising: an instruction execution pipeline; an instruction cache coupled to a memory subsystem; a branch prediction mechanism operative to predict the evaluation of a branch condition associated with a conditional branch instruction and output a weighted branch prediction value; and an instruction prefetching mechanism operative to selectively prefetch instructions from the instruction cache and, in the case of an instruction cache miss, to prefetch the instructions from the memory subsystem, in response to the weighted branch prediction value and whether the prefetch hits in t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Bahar et al.; Performance Analysis of Wrong-Path Data Cache Accesses; 1998, ISCA '98.
- International Preliminary Report on Patentability-PCT/US06/006993, The International Bureau of WIPO, Geneva Switzerland-Aug. 7, 2007.
- International Search Report-PCT/US06/006993, International Search Authority-European Patent Office-Nov. 3, 2006.
- Lee, Baer, Calder & Grunwald; Instruction Cache Fetch Policies for Speculative Execution; 1995; ACM Press; ISCA '95; pp. 357-367.
- Manne & Grunwald; Pipeline Gating: Speculation Control For Energy Reduction; 1998; IEEE Computer Society; ISCA '98; pp. 132-141.