Method and apparatus for dynamically managing instruction buffer depths for non-predicted branches
Abstract
A method and apparatus for dynamically managing instruction buffer depths for non-predicted branches reduces wasted energy and resources associated with low confidence branch prediction conditions. A portion of the instruction buffer for a instruction thread is allocated for storing predicted branch instruction streams and another portion, which may be zero-sized during high prediction confidence conditions, is allocated to the non-predicted branch instruction stream. The size of the buffers is adjusted dynamically in conformity with an on-going prediction confidence that provides a measure of how well branch prediction mechanisms are working for a given instruction thread. An alternate instruction fetch address table can be maintained and multiplexed with the main fetch address register for addressing the instruction cache, so that the instruction stream can be quickly shifted to the non-predicted path when a branch instruction is resolved to the non-predicted path.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 6.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for managing instruction buffer resources in a processor of a computer system, comprising: storing a first instruction stream corresponding to a more likely path of a branch instruction in a first portion of an instruction buffer; storing a second instruction stream corresponding to a less likely path of the branch instruction in a second portion of the instruction buffer; within a control circuit responsive to a branch prediction unit of the processor, calculating a measure of branch prediction confidence for a instruction thread; and from a control circuit within the processor that
- Claim 2Independent Claim
The met
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (1)
- U.S. Appl. No. 11/039,498, filed Jan. 20, 2005, Eisen, et al.