Patent · US Expired

Stack push/pop tracking and pairing in a pipelined processor

US5687336A · kind A · utility

61Cited by
6References
19Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJan 11, 1996
Grant dateNov 11, 1997
Priority date
Expiry dateJan 11, 2016

Classification

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

Abstract

A pipelined processor executes several stack instructions simultaneously. Additional shadow registers for stack pointers of instructions in the pipeline are not needed. Instead the new stack pointer is generated once at the end of the pipeline and written to the register file. The stack pointer is needed for generating the stack-top address in memory. The stack-top address is generated early in the pipeline. Other stack instructions in the pipeline which have not yet incremented the stack pointer are located with a stack valid bit array. The stack valid array indicates the increment or decrement amounts for stack instructions in each pipeline stage. An overall displacement or increment value is computed as the sum of all increments and decrements for stack instructions in the pipeline which have not yet updated the stack pointer. The overall displacement which accounts for all unfinished stack instructions is added to the stack pointer from the register file to generate the stack-top address. Thus the new stack pointer does not have to be generated before the stack memory is accessed. Pushes or pops are paired by doubling the increment amount in the stack valid bit array and perfor…

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