Patents
US 8,943,300 B2#43659883 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus for generating return address predictions for implicit and explicit subroutine calls using predecode information

2Forward Citations (#43659883 Global)
0.2/yrCitation Velocity (#35794885 Global)
0.93Citation PageRank (#46297237 Global)
19Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

An apparatus for emulating the branch prediction behavior of an explicit subroutine call is disclosed. The apparatus includes a first input which is configured to receive an instruction address and a second input. The second input is configured to receive predecode information which describes the instruction address as being related to an implicit subroutine call to a subroutine. In response to the predecode information, the apparatus also includes an adder configured to add a constant to the instruction address defining a return address, causing the return address to be stored to an explicit subroutine resource, thus, facilitating subsequent branch prediction of a return call instruction.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 2.

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method of emulating branch prediction behavior of an explicit subroutine call, the method comprising: predecoding an instruction associated with an instruction address to define predecode information; determining whether the predecode information indicates the instruction address as a beginning of an implicit subroutine call; recognizing the instruction address as indicating the implicit subroutine call to a subroutine; calculating a return address from the instruction address; and storing the return address to an explicit subroutine resource.

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising: reading the return address from the explicit subroutine resource in response to a branch instruction indicating a return call from the subroutine.

  3. Claim 3Depends on #2

    The method of claim 2 , further comprising: redirecting a

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
US 4,604,695 ANibble and word addressable memory arrangement198677
JP S6254342 ADigital instruction processor—9
KR 940,008,392 A밀착형 이미지 센서—1
US 5,604,877 AMethod and apparatus for resolving return from subroutine instructions in a computer processor1997190
US 5,729,727 APipelined processor which reduces branch instruction interlocks by compensating for misaligned branch instructions199813
US 5,964,869 AInstruction fetch mechanism with simultaneous prediction of control-flow instructions199936
US 5,964,868 AMethod and apparatus for implementing a speculative return stack buffer1999111
WO 0,004,444 A1Register renaming in which moves are accomplished by swapping rename tags—17
US 6,157,999 AData processing system having a synchronizing link stack and method thereof200053
US 2003120856 A1Method for resolving address space conflicts between a virtual machine monitor and a guest operating system—71
US 6,823,447 B2Software hint to improve the branch target prediction accuracy200424
US 6,889,320 B1Microprocessor with an instruction immediately next to a branch instruction for adding a constant to a program counter200525
US 2005154859 A1Branch prediction in a data processing apparatus—15
RU 2,259,582 C2Method for solving conflicts concerning address space between virtual machines monitor and guest operation system200527
US 2006026410 A1Branch predicting apparatus and branch predicting method—14
JP 2006040173 ABranch prediction device and method—5
US 7,404,067 B2Method and apparatus for efficient utilization for prescient instruction prefetch200819
US 7,478,228 B2Apparatus for generating return address predictions for implicit and explicit subroutine calls20095
US 7,836,290 B2Return address stack recovery in a speculative execution computing apparatus201010

Non-Patent Literature (4)

  • European Search Report-EP1215447-Search Authority-Munich-Jun. 14, 2012, all pages (1-7).
  • International Search Report-PCT/US07/077340, International Search Authority-European Patent Office-Apr. 10, 2008.
  • Taiwan Search Report-TW096132259-TIPO-Mar. 15, 2011, all pages(1).
  • Written Opinion-PCT/US07/077340, International Search Authority-European Patent Office-Apr. 10, 2008.