Decode history table for conditional branch instructions
Abstract
A method and apparatus predicting the outcome of a conditional branch instruction based on the previous performance of the branch, rather than on the instruction fields. The prediction of the outcome of a conditional branch instruction is performed utilizing a table that records the history of the outcome of the branch at a given memory location. A decode-time history table (DHT) is utilized. The DHT attempts to guess only the outcome of a conditional branch instruction, but not its target address. Thus, it can only be used to guess the branch outcomes at decode time when the target address is available. During the decoding of a conditional branch instruction, a table is accessed using the memory address of the branch instruction itself or some portions thereof. The table records the history of the outcomes of the branch at this memory location up to the congruence of the table size. A combinational circuit determines the guess (taken or not taken) from the branch history as provided by the table.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 66.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a computing machine, apparatus for predicting the outcome of conditional branch instructions, the combination comprising: an address queue in which the addresses of conditional branch instructions that have been successfully decoded, but have not finished being executed are stored; an address and history table in which at least a portion of the addresses of conditional branch instructions are stored, including at least one stored history bit associated with each of said conditional branch instructions which is indicative of whether or not the previous executions of the associated conditio
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗