Branch predicting apparatus and branch predicting method
Abstract
A return address in response to a return instruction corresponding to a call instruction is stored in a return address stack when a branch history detects presence of the call instruction. When the branch history detects the presence of the return instruction before a branch reservation station completes executing the call instruction, the return address in response to the return instruction is not stored in the return address stack. If so, an output selection circuit predicts a correct return target using information stored in the return address stack.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A branch predicting apparatus that makes a branch prediction in a pipeline processor, the branch predicting apparatus comprising: a branch predicting unit that stores execution history information on a branch instruction that includes a return address in response to a return instruction that corresponds to a call instruction, and that performs the branch prediction based on the execution history information; a first return-address storage unit that stores, when the branch predicting unit predicts presence of the call instruction in a sub-routine, a return address in response to the return inst
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (4)
- European Search Report dated Jan. 14, 2008 in corresponding European Patent Application No. 04257390.7-1243.
- J. Losq, "Subroutine Return Address Stack" IBM Technical Disclosure Bulletin, IBM Corp. New York, US, vol. 24, No. 7A, Dec. 1981 (1981.12), pp. 3255-3258, XP000619537.
- Japanese Office Action for corresponding Japanese Application No. 2004-222399 mailed Oct. 28, 2008.
- Office Action mailed on May 27, 2008 and issued in corresponding Japanese Patent Application No. 2004-222399.