Patents
US 5,367,651 A#445890 Most CitedExpiredUnited States (USPTO)Utility

Integrated register allocation, instruction scheduling, instruction reduction and loop unrolling

73Forward Citations (#445890 Global)
2.3/yrCitation Velocity (#1588641 Global)
42.57Citation PageRank (#93734 Global)
2Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An improved register allocator, an improved instruction scheduler, an instruction combiner, and an improved loop unroller is provided to the code generator of a compiler of a computer system. Both the improved instruction scheduler and the improved loop unroller support a "preliminary" and a "final" mode of operation. Upon invocation, the improved register allocator determines and prioritizes regions of the program being compiled. Next, the improved register allocator, in cooperation with the improved instruction scheduler, the instruction combiner, and the improved loop unroller, determines the optimal partitioning for global and local registers for each region. Then, the improved register allocator allocates registers to each region based on the determined number of global registers for the region. After allocating registers for each region, the improved register allocator merges the regions together. The improved loop unroller and the improved instruction scheduler are then invoked successively in "final" mode to unroll the various loops and schedule the instructions being generated.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a computer system comprising a plurality of registers and a plurality of pipelines for parallel and overlapping execution of instructions, a method for allocating said registers to instructions being generated for a program being compiled, unrolling loops of said program, and scheduling said instructions being generated for execution, said method comprising the steps of: a) allocating global registers to said instructions being generated for a first time using all registers of said computer system; b) scheduling said instructions being generated for a first time, allocating local register

Technical Overview & Description

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

Non-Patent Literature (2)

  • D. G. Bradlee, S. J. Eggers, R. R. Henry, Integrating Register Allocation and Instruction scheduling for RISCS, ACM 1991 (ACM 0 89791 380 9/91/0003 0122).
  • D. G. Bradlee, S. J. Eggers, R. R. Henry, Integrating Register Allocation and Instruction scheduling for RISCS, ACM 1991 (ACM 0-89791-380-9/91/0003-0122).