Patents
US 7,007,271 B2#1593981 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for integrated instruction scheduling and register allocation in a postoptimizer

37Forward Citations (#1593981 Global)
1.9/yrCitation Velocity (#2409564 Global)
6.08Citation PageRank (#2411403 Global)
17Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

The present invention describes a method of efficiently optimizing instruction scheduling and register allocation in a post optimizer. The method removes false register dependencies between pipelined instructions by building an incremental (partial) interference graph of register allocation for scheduled instructions. False dependency graph indicates the amount of parallelism in the data flow graph. The incremental interference graph uses a mix of virtual and physical registers. The interference graph is built incrementally as an instruction schedular schedules each instruction. The optimization is done incrementally on localized code. The physical register mapping is maximized and virtual registers are created on demand basis.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method of integrated instruction scheduling and register allocation comprising: selecting at least one instruction region; and resolving resource constraints for one or more instructions in the instruction region using a finite state machine.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the instruction region comprises one or more instructions required to be executed.

  3. Claim 3Depends on #1

    The method of claim 1 , further comprising: constructing a dependency graph for the instruction region.

Technical Overview & Description

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

References Cited — Backward Prior Art (17)

PatentTitleYearCitations
US 5,202,975 AMethod for optimizing instruction scheduling for a processor having multiple functional resources1993106
US 5,230,050 AMethod of recompiling a program by using result of previous compilation199388
US 5,606,697 ACompiler system for language processing program199735
US 5,613,121 AMethod and system of generating combined storage references199738
US 5,790,874 AInformation processing apparatus for reducing power consumption by minimizing hamming distance between consecutive instruction199879
US 5,937,190 AArchitecture and methods for a hardware description language source level analysis and debugging system1999145
US 5,999,734 ACompiler-oriented apparatus for parallel compilation, simulation and execution of computer programs and hardware models1999210
US 6,031,994 AMethod for determining the set of variables that may be ambiguously defined at a point in a computer program200021
US 6,059,841 AUpdating data dependencies for loop strip mining200017
US 6,263,489 B1Method and apparatus for debugging of optimized code200190
US 6,374,403 B1Programmatic method for reducing cost of control in parallel processes2002133
US 6,631,514 B1Emulation system that uses dynamic binary translation and permits the safe speculation of trapping operations2003129
US 6,651,246 B1Loop allocation for optimizing compilers2003135
US 6,675,380 B1Path speculating instruction scheduler200434
US 6,711,728 B1Function synthesizing method and apparatus, and recording medium on which program of said method is recorded20047

Non-Patent Literature (4)

  • Gupta et al, "Resource sensitive profile directed data flow analysis for code optimization", IEEE, pp 358-368, 1997.
  • Jacobson et al, Achieving fast and exact hazard free logic minimization of extended burst mode gc finite state machine:, Proc. of IEEE/ACM Int. Conf. on CAD, pp 303-310, Nov. 2000.
  • Moon et al, "A study on the number of memory ports inmultiple instruction issues machines", IEEE, pp 49-58, 1993.
  • Ngassam et al, "Hardcoding finite state automata processing", ACM SAICSIT, pp 111-121, 2003.