Method for updating a branch history table in a processor which resolves multiple branches in a single cycle
Abstract
A method and apparatus for updating a branch history table (BHT) in a processor which resolves multiple branches in a single cycle is disclosed. The method and apparatus utilizes a single write ported BHT that achieves similar performance to a two write ported BHT by selecting only data corresponding to one of the branch instructions for updating the BHT. The data corresponding to the branch instruction for updating the BHT is selected based upon whether a prediction of the instruction path set by the branch instruction was correctly predicted and the state of a corresponding saturation up-down counter in the BHT.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 41.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for updating a branch history table (BHT) with data in a processor, said method comprising the steps of: a) predicting, for a first and a second branch instruction, whether the branch path of instructions is taken; b) resolving, for the first and second branch instructions, which path of instructions is taken according to the predictions from step a); c) selecting data corresponding to one of the first or second branch instructions to be updated in the BHT in response to whether the predictions in step a) were correct.
- Claim 2Depends on #1
The method as recited in claim 1, further including the step of updating the data selected in step c).
- Claim 3Depends on #1
The method as recited in claim 1, wherein the step of selecting includes the step of selecting the data corresponding to the first branch instruction to be updated in the BHT
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗