Incorporating trigger loads in branch histories for branch prediction
Abstract
To make a branch prediction, a branch prediction apparatus determines a trigger load instruction whose value feeds into the branch instruction. A hash value is associated with the branch instruction. The branch prediction apparatus computes the hash value based on the trigger load instruction. If the hash value has not changed, the branch prediction apparatus predicts the branch to be chosen based on past predictions for the hash value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 19.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for predicting a choice at a branch, the method comprising: initializing a branch history for the branch; associating a hash value with the branch history; determining a trigger load instruction for the branch; maintaining the branch history; and predicting a next choice at the branch when the trigger load instruction is reached.
- Claim 2Depends on #1
A method according to claim 1 , wherein determining a trigger load instruction includes: tracking an instruction sequence; and identifying a last load instruction that feeds into the branch as the trigger load instruction.
- Claim 3Depends on #1
A method according to claim 1 , wherein maintaining a branch history includes tracking all choices at the branch since the last execution of the trigger load instruction.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (2)
- Srikanth T. Srinivasan and Alvin R. Lebeck, "Exploiting Load Latency Tolerance in Dynamically Scheduled Processors," Feb. 13, 1998, pp. 1-18.
- Timothy H. Heil, Zak Smith and J.E. Smith, "Improving Branch Predictors by Correlating on Data Values," Nov. 1999, pp. 28-37.