Computer system branch prediction of subroutine returns
Abstract
Described is a branch unit that predicts branch instruction target addresses. The prediction is improved by using a Call-Return Stack to predict subroutine routine branches. The mechanism is designed for high-performance processors where call and return instructions may overlap in execution or may be issued speculatively. The mechanism maintains the state for the known execution trace and tracks speculative execution traces.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 140.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system method for the prediction of branch instruction target addresses for subroutine returns, comprising the steps of: saving subroutine return addresses within a series of storage locations; storing first data as a prediction pointer representative of the location of a first one of said series of storage locations, wherein a next subroutine prediction address to be used for predicting a return address from a subroutine is saved in said first one of said series of storage locations; storing second data as an update pointer representative of the location of a second one of said
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗