Processor including fallback branch prediction mechanism for far jump and far call instructions
Abstract
A method and apparatus are provided for processing far jump-call branch instructions within a processor in a manner which reduces the number of stalls of the processor pipeline. The processor includes an apparatus, for providing a fallback far jump-call speculative target address that corresponds to a current far jump-call branch instruction. The microprocessor apparatus includes a far jump-call branch target buffer and a fallback speculative target address generator. The far jump-call branch target buffer stores a plurality of code segment bases and offsets corresponding to a plurality of previously executed far jump-call branch instructions, and determines if a hit for the current far jump-call branch instruction is contained therein. The fallback speculative target address generator is coupled to the far jump-call branch target buffer. In the event of a miss in the far jump-call branch target buffer, the fall back speculative target address generator generates the fallback far jump-call speculative target address from a current code segment base and a target offset, the target offset corresponding to the current far jump-call branch instruction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A microprocessor apparatus within a microprocessor, for providing a fallback far jump-call speculative target address that corresponds to a current far jump-call branch instruction, the microprocessor apparatus comprising: a far jump-call branch target buffer, configured to store a plurality of code segment bases and offsets corresponding to a plurality of previously executed far jump-call branch instructions, and configured to determine if a hit for the current far jump-call branch instruction is contained therein; and a fallback speculative target address generator, coupled to said far jump-
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (2)
- Intel Architecture Software Developer's Manual, vol. 2: Instruction Set Reference. Intel Corporation, 1999. pp. 3-2 and 3-3.
- The PowerPC Architecture: A Specification for a New Family of RISC Processors. Morgan Kauffman Publishers, Inc., 1994. pp. 4, 12-15 and 22-23.