Combined level 1 and level 2 branch predictor
Abstract
A branch predictor for use in a processor includes a Level 1 branch predictor, a Level 2 branch predictor, a match determining circuit, and an override determining circuit. The Level 1 branch predictor generates a Level 1 branch prediction. The Level 2 branch predictor generates a Level 2 branch prediction. The match determining circuit determines whether the Level 1 and Level 2 branch predictions match. The override determining circuit determines whether to override the Level 1 branch prediction with the Level 2 branch prediction. The Level 1 branch prediction is used when the Level 1 and Level 2 branch predictions match or when the Level 1 and Level 2 branch predictions do not match and the Level 1 branch prediction is not overridden. The Level 2 branch prediction is used when the Level 1 and Level 2 branch predictions do not match and the Level 1 branch prediction is overridden.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A branch predictor for use in a processor, comprising: a Level 1 branch predictor configured to generate a Level 1 branch prediction, wherein the Level 1 branch predictor includes: a bias weight array; a first predictor, including a first hash generator and a bimodal counter array; a bimodal chooser; and a multiplexer connected to the bias weight array, the first predictor, and the bimodal chooser; a Level 2 branch predictor configured to generate a Level 2 branch prediction; a match determining circuit configured to determine whether the Level 1 branch prediction matches the Level 2 branch pr
- Claim 2Depends on #1
The branch predictor according to claim 1 , wherein a portion of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2017153894 A1 | Apparatus and method for branch prediction | — | 6 |
| US 9,442,726 B1 | Perceptron branch predictor with virtualized weights | 2016 | 13 |
References Cited — Backward Prior Art (4)
Non-Patent Literature (3)
- Jimenez et al., "Dynamic Branch Prediction with Perceptrons" Proceedings of the Seventh International Symposium on High Performance Computer Architecture, 2000.
- Jimenez et al., "Neural Methods for Dynamic Branch Prediction" ACM Transactions on Computer Systems, vol. 20, No. 4, Nov. 2002, pp. 369-397.
- McFarling, Scott, "Combining Branch Predictors" WRL Technical Note TN-36, Jun. 1993.