Patents
US 7,757,071 B2#24659551 Most CitedExpiredUnited States (USPTO)Utility

Branch predicting apparatus and branch predicting method

4Forward Citations (#24659551 Global)
0.2/yrCitation Velocity (#28445493 Global)
1.39Citation PageRank (#25628085 Global)
18Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (18)

PatentTitleYearCitations
US 4,636,943 AEnhanced CPU microbranching architecture19879
US 5,179,673 ASubroutine return prediction mechanism using ring buffer and comparing predicated address with actual address to validate or flush the pipeline199347
JP H05120013 AData processor having branch instruction buffer—4
JP H06161748 AReturn-estimation mechanism of subroutine—2
US 5,454,087 ABranching system for return from subroutine using target address in return buffer accessed based on branch type information in BHT199528
US 5,564,118 APast-history filtered branch prediction199652
US 5,604,877 AMethod and apparatus for resolving return from subroutine instructions in a computer processor1997190
JP H11259298 ADevice for executing sub-routine calling and return operation and method therefor—3
US 5,964,868 AMethod and apparatus for implementing a speculative return stack buffer1999111
US 5,974,543 AApparatus and method for performing subroutine call and return operations199977
JP 2000172507 AInstruction fetch controller—4
JP 2001172507 AResin composition washable with neutral water and treating system using same—1
US 6,374,350 B1System and method of maintaining and utilizing multiple return stack buffers200224
US 2002129226 A1Circuits and methods for recovering link stack data upon branch instruction mis-speculation—36
US 6,530,016 B1Predicted return address selection upon matching target in branch history table with entries in return address stack200324
US 2003097549 A1Predicted return address selection upon matching target in branch history table with entries in return address stack—11
US 2005076193 A1Apparatus and method for selectively overriding return stack prediction in response to detection of non-standard return sequence—14
US 7,350,062 B2Predicted return address from return stack entry designated by computation unit with multiple inputs including return hit flag and re-fetch signal20083

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.