Patents
US 9,652,240 B2#27259405 Most CitedActiveUnited States (USPTO)Utility

Stack pointer value prediction

4Forward Citations (#27259405 Global)
0.4/yrCitation Velocity (#18556195 Global)
1.06Citation PageRank (#38443666 Global)
9Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Methods and apparatus for predicting the value of a stack pointer which store data when an instruction is seen which grows the stack. The information which is stored includes a size parameter which indicates by how much the stack is grown and one or both of: the register ID currently holding the stack pointer value or the current stack pointer value. When a subsequent instruction shrinking the stack is seen, the stored data is searched for one or more entries which has a corresponding size parameter. If such an entry is identified, the other information stored in that entry is used to predict the value of the stack pointer instead of using the instruction to calculate the new stack pointer value. Where register renaming is used, the information in the entry is used to remap the stack pointer to a different physical register.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of predicting stack pointer values for a stack in a processor, the stack having an associated stack pointer, the method comprising: in response to detection of an instruction growing the stack, storing a data entry in a data structure different from the stack using at least one processor, the data entry comprising a size value corresponding to an amount by which the instruction grows the stack and at least one of: a register ID of a physical register storing a value of the stack pointer prior to the instruction growing the stack; and the value of the stack pointer prior to the instruc

Technical Overview & Description

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

Non-Patent Literature (1)

  • Collins J. et al, "Pointer cache assisted prefetching", Proc. 35th Annual IEEE/ACM International Symposium on Microarchitecture Nov. 18-22, 2002, pp. 62-73.