Method and system for wrapper routine optimization
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)
- 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 ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (17)
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.