Patent · US Active

Apparatus and method for fast correct resolution of call and return instructions using multiple call/return stacks in the presence of speculative conditional instruction execution in a pipelined microprocessor

US7975132B2 · kind B2 · utility

6Cited by
18References
25Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 9, 2009
Grant dateJul 5, 2011
Priority date
Expiry dateMar 20, 2030

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/3844
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A microprocessor having a plurality of call/return stacks (CRS) correctly resolves a call or return instruction rather than issuing the instruction to execution units of the microprocessor to be resolved. The microprocessor fetches a call or return instruction and determines whether the instruction is the first call or return instruction fetched after fetching a conditional branch instruction that has yet to be resolved. The microprocessor copies the contents of a current CRS to another CRS and designates the other CRS as the current CRS, if the state exists. The microprocessor pushes the address of the next sequential instruction following the call instruction onto the current CRS and fetches an instruction at the call instruction target address if the instruction is a call instruction. The microprocessor pops a second return address from the current CRS and fetches an instruction at the second return address, if the instruction is a return instruction.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.