Patents
US 5,564,031 A#500337 Most CitedExpiredUnited States (USPTO)Utility

Dynamic allocation of registers to procedures in a digital computer

69Forward Citations (#500337 Global)
2.3/yrCitation Velocity (#1554299 Global)
16.06Citation PageRank (#481737 Global)
15Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

In a digital computer, a circular queue of registers in a register file are allocated as temporary local storage for procedures rather than using the known caller/callee save convention in order to minimize main memory references. A called procedure dynamically allocates local registers as needed without regard to registers used by the caller of the procedure or by any callee of the procedure, whereby register allocation is not restricted by any predetermined window size. Local registers, including parameter passing registers, are allocated in the called procedure, rather than a priori at compile time, by adjusting register stack pointer values. Only the number of registers actually required by the procedure need by allocated. Optionally, rotating registers may be allocated among the local registers. Stack pointer values are stored in one of the parameter passing registers when a procedure is called. Hardware register file access circuitry maps virtual register numbers used by the procedures into the hardware register file. Upon return from a procedure, registers are deallocated by adjusting the register stack pointers to the values stored when the procedure was called.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of dynamically allocating registers to procedures in a digital computer without compiler intervention, the method comprising the steps of: defining a logical register stack comprising a plurality of stack registers; initializing a local relocation term (lrel) so as to define an offset for mapping the logical register stack into the physical register set; allocating to a first procedure an arbitrary number of stack registers specified by the first procedure as local registers by initializing a first stack pointer value (TOL) so as to delimit the local registers in the logical regis

Technical Overview & Description

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

Cited By — Indexed Forward Citations (15 of 69 total)

References Cited — Backward Prior Art (15)

PatentTitleYearCitations
US 3,737,871 AStack register renamer197312
US 4,445,173 AImproved system for saving and restoring state in call and return operations198428
US 4,524,416 AStack mechanism with the ability to dynamically alter the size of a stack in a data processing system198563
US 4,777,588 AGeneral-purpose register file optimized for intraprocedural register allocation, procedure calls, and multitasking performance198837
US 4,969,091 AApparatus for stack control employing mixed hardware registers and memory199090
US 5,036,454 AHorizontal computer having register multiconnect for execution of a loop with overlapped code199129
US 5,083,267 AHorizontal computer having register multiconnect for execution of an instruction loop with recurrance199231
US 5,083,263 ABISC with interconnected register ring and selectively operating portion of the ring as a conventional computer199231
US 5,129,067 AMultiple instruction decoder for minimizing register port requirements1992225
US 5,159,680 ARisc processing unit which selectively isolates register windows by indicating usage of adjacent register windows in status register199224
US 5,226,128 AHorizontal computer having register multiconnect for execution of a loop with a branch199323
US 5,226,142 AHigh performance register file with overlapping windows199330
US 5,233,691 ARegister window system for reducing the need for overflow-write by prewriting registers to memory during times without bus contention199331
US 5,276,820 AArithmetic and logic processor and operating method therefor19949
US 5,440,714 AMethod and system configuration for simplifying the decoding system for access to an register file with overlapping windows199518

Non-Patent Literature (4)

  • Hennessy et al., "Computer Architecture A Quantitative Approach" 1990, pp. 432-448, 450-453.
  • Hennessy et al., Computer Architecture A Quantitative Approach 1990, pp. 432 448, 450 453.
  • Patterson and Hennessy; Computer Archtecture A Quantitative Approach; pp. 450 454, 484, 486, 487.
  • Patterson and Hennessy; Computer Archtecture A Quantitative Approach; pp. 450-454, 484, 486, 487.