Determining maximum number of live registers by recording relevant events of the execution of a computer program
Abstract
The present invention is a method and apparatus for compiler optimization that determines the maximum number of live computer registers, or pressure point. The present invention improves the productivity of a software developer by reducing compilation time of a computer program. More particularly, the overhead required during compilation to search information to determine the maximum number of live registers is reduced. The present invention records the relevant events related to the execution of a computer program, as opposed to a comprehensive history of the read instructions and write instructions. Also, the present invention maintains information about the maximum number of live registers for any partition related to the execution of a computer program. The present invention may bound the required system resources required to determine the maximum number of live registers to the number of registers associated with the number of partitions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 22.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for determining the maximum number of live registers in a computer system, said computer system having an executing computer program having at least one instruction that accesses said registers, said method including the steps of: including a read instruction in said instructions, said live registers being associated with said read instruction; associating events in said computer program with said instructions, and thereby associating said accessed registers with said events; wherein, for each said event, said method further comprises the steps of: identifying a number of accessed reg
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 22 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- "A Register Pressure Sentive Instruction Scheduler", R. Silvera et al. IEEE 1997, pp. 78-89.*
- "A Unified Modulo Scheduling and Register Allocation Technique for Clustered Processors", J. Codina et al. IEEE 2000.*
- "Advanced Compile Design & Implementation", S. Munchnick, Chapter 16, published Aug. 19, 1997.*
- "Advanced Compiler Design & Implementation", Steven S. Muchnick et al., Aug. 19, 1997, pp. 482-530.
- "Compilers Principles, Techniques and Tools", Aho et al., Chapters 7-8, published Sep. 1985.*