Processor and branch prediction method
Abstract
A next address computing section contains a selector and is connected to an instruction cache. The instruction cache maintains a predecode result of a branch instruction or predefined settings for a field in this branch instruction. Based on this information maintained in the instruction cache, the selector determines whether the compiler performed a branch prediction about the branch instruction or could not perform that branch prediction. When the compiler could not perform the branch prediction, the selector selects an output from a conditional branch prediction device (saturation counter section). When the compiler performed the branch prediction, the selector selects a prediction result by the compiler for a prediction in Agree mode. These selection results are used for setting a value of a register holding the next address. Based on this next-address register value, an instruction is fetched from the cache then inserted into a pipeline.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A processor comprising: an instruction cache configured to fetch a first instruction from a program stored in a memory; a decoding section connected to the instruction cache and configured to decode the first instruction fetched in the cache; an executing section connected to the decoding section and configured to execute the decoded first instruction; and an address computing section connected between the instruction cache and the executing section and configured to compute an address of a second instruction to be fetched into the instruction cache when the decoded first instruction is a bran
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗