Branch target buffer allocation
Abstract
A data processing system and method are provided for allocating an entry in a branch target buffer (BTB). The method comprises: receiving a branch instruction to be executed in a data processor; determining that the BTB does not include an entry corresponding to the branch instruction; identifying an entry in the BTB for allocation, the identified entry in the BTB comprising a target identifier and a first prediction value for a previously received branch instruction; determining whether to allocate the branch instruction to the identified entry in the BTB based on a comparison of the first prediction value to a second prediction value, wherein the second prediction value is generated from a branch history table (BHT); and allocating the branch instruction to the identified entry if the second prediction value indicates a more strongly taken prediction than the first prediction value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for allocating an entry of a plurality of entries in a branch target buffer (BTB), the method comprising: receiving a branch instruction to be executed in a data processor; determining that the BTB does not include an entry corresponding to the branch instruction; identifying an entry in the BTB for allocation, the identified entry in the BTB comprising a target identifier and a first prediction value for a previously received branch instruction; and determining whether to allocate the branch instruction to the identified entry in the BTB based on a comparison of the first prediction
- Claim 2Depends on #1
The method of claim 1 , wherein the step of determining is further characterized by the second prediction value being ge
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)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Jacobsen et al; "Assigning Confidence to Conditional Branch Predictions"; IEEE, pp. 142-152, 1996.
- Lee et al; "Branch Predictions Strategies and Branch Target Buffer Design"; IEEE, pp. 6-22, 1984.
- McFarland; WRL Techinical Note TN-36; "Combining Branch Predictors"; Western Research Laboratory, California Jun. 1993.
- PCT/US2009/043452 International Search Report and Written Opinion mailed May 11, 2009.
- PCT/US2009043452, Extended European search report dated Jul. 7, 2011.