Training line predictor for branch targets
Abstract
A line predictor caches alignment information for instructions. In response to each fetch address, the line predictor provides alignment information for the instruction beginning at the fetch address, as well as one or more additional instructions subsequent to that instruction. The line predictor may include a memory having multiple entries, each entry storing up to a predefined maximum number of instruction pointers and a fetch address corresponding to the instruction identified by a first one of the instruction pointers. Additionally, each entry may include a link to another entry storing instruction pointers to the next instructions within the predicted instruction stream, and a next fetch address corresponding to the first instruction within the next entry. The next fetch address may be provided to the instruction cache to fetch the corresponding instruction bytes. If the terminating instruction within the entry is a branch instruction, the line predictor is trained with respect to the next fetch address (and next index within the line predictor, which provides the link to the next entry). As line predictor entries are created, a set of branch predictors may be accessed to pro
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 13.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A processor comprising: a fetch address generation unit configured to generate a fetch address; and a line predictor coupled to said fetch address generation unit, said line predictor including a first memory comprising a plurality of entries, each entry storing a plurality of instruction pointers and a next entry indication, wherein said line predictor is configured to select a first entry of said plurality of entries, said first entry corresponding to said fetch address, and wherein if one of a first plurality of instruction pointers within said first entry identifies a branch instruction, s
- Claim 2Depends on #1
The processor as recited in claim 1 wherein said next entry indication comp
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗