Patents
US 6,135,650 A#8301425 Most CitedExpiredUnited States (USPTO)Utility

Method and system for wrapper routine optimization

12Forward Citations (#8301425 Global)
0.5/yrCitation Velocity (#17716148 Global)
2.54Citation PageRank (#9917286 Global)
17Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Program routines normally requiring windowed register allocation using conventional assembly code generation in a compiler are examined for eligibility for a wrapper routine optimization procedure in which wrapper routine assembly code instructions are generated in response to the application of high level programming language instructions specifying routines. If not eligible, the compiler generates assembly code instructions in a conventional way, allocating windowed registers to each routine. If the routine is eligible for wrapper routine optimization, the routine is further examined to determine whether the routine includes tail routine calls only or calls within the body of the routine. If the former, the routine is examined to determine whether local stack usage is required. For a routine having tail routine calls only and a requirement of local stack usage, wrapper routine assembly code instructions of a first type are generated. If the routine includes tail calls only and no requirement for local storage, wrapper routine assembly code instructions of a second type are generated. If the routine incorporates one or more calls within the body thereof, the routine is further exa

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of generating wrapper routine assembly code instructions for executing routines specified by a high level programming language, said routines normally requiring windowed register allocation, said method comprising the steps of: (a) identifying a routine that is eligible for having wrapper routine assembly code instructions generated therefor; (b) classifying the eligible routine identified in step (a) into one of a plurality of types of wrapper routines, wherein said step (b) of classifying includes the step (i) of determining whether the eligible routine incorporates tail routine c

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
EP 0,051,131 A2Computing system operating to assign registers to data—8
US 4,571,678 ARegister allocation and spilling via graph coloring1986136
US 4,667,290 ACompilers using a universal intermediate language1987340
US 4,763,255 AMethod for generating short form instructions in an optimizing compiler198859
US 4,782,444 ACompilation using two-colored pebbling register allocation method such that spill code amount is invariant with basic block's textual ordering1988124
US 5,175,856 AComputer with integrated hierarchical representation (ihr) of program wherein ihr file is available for debugging and optimizing during target execution1992252
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,249,295 ADigital computer register allocation and code spilling using interference graph coloring199385
US 5,418,958 ARegister allocation by decomposing, re-connecting and coloring hierarchical program regions199532
US 5,481,706 ASystem and method for creating thread-safe shared libraries1996151
US 5,530,866 ARegister allocation methods having upward pass for determining and propagating variable usage information and downward pass for binding; both passes utilizing interference graphs via coloring199689
US 5,590,329 AMethod and apparatus for detecting memory access errors1996193
US 5,590,332 AGarbage collection, tail recursion and first-class continuations in stack-oriented languages1996101
US 5,659,754 AMethod and apparatus for an improved optimizing compiler1997140
US 5,734,908 ASystem and method for optimizing a source code representation as a function of resource utilization199854
US 5,752,034 AApparatus and method for providing an event detection notification service via an in-line wrapper sentry for a programming language199896
US 5,815,719 AMethod and apparatus for easy insertion of assembler code for optimization199844

Non-Patent Literature (5)

  • Article: "Optimizing Compiler Exploits DSP Features", Section: Software Developments, Author(s): Ronald E. Kole, Published By: High Performance Systems, Date Published: Feb. 11, 1990, pp.: 40 -42 and 44 -45.
  • Article: Optimizing Compiler Exploits DSP Features , Section: Software Developments, Author(s): Ronald E. Kole, Published By: High Performance Systems, Date Published: Feb. 11, 1990, pp.: 40 42 and 44 45.
  • Book: ACM Transactions on Programming Languages and Systems, Vol. 12 No. 4 Article: The Priority Based Coloring Approach to Register Allocation. Author(s): Fred C. Chow and John L. Hennessy, Printed: Oct. 1990, pp.: 501 536.
  • Book: ACM Transactions on Programming Languages and Systems, Vol. 12 No. 4Article: The Priority-Based Coloring Approach to Register Allocation. Author(s): Fred C. Chow and John L. Hennessy, Printed: Oct. 1990, pp.: 501 -536.
  • Book: Compilers Principles, Techniques, and Tools , Authors: Afred V. Aho, Ravi Sethi and Jeffrey D. Ullman, Publisher: Addison Wesley, Printed: Mar. 1988, Chapter 8 Intermediate Code Generation, pp.: 463 512.