Method for register allocation during instruction scheduling
Abstract
The present disclosure relates to the allocation of registers the scheduling of instructions, and, more specifically, to the classifying of operands and allocation of registers to local operands.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for processing a group of instructions, the method comprising: selecting an instruction to schedule, the instruction associated with an operand, wherein the operand comprises a live range representing the operational duration of the operand relative to the group of instructions being processed; attempting to allocate a preserved register to the operand for its live range when its live range spans a function call; attempting to allocate a scratch register to the operand for its live range when its live range does not span the function call; and scheduling the instruction when the alloc
- Claim 2Depends on #1
The method of claim 1 , further comprising: terminating the attempt to allocate the preserved register or the scratch register to the operand for its live range when the operand's use by the sel
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- D. Bradlee et al., "Integrating Register Allocation and Instruction Scheduling for RISCs", Dept. of Computer Science, Univ. of Washington, Seattle, Washington, 1991, 9 pages.
- F. Chow et al., "The Priority-Based Coloring Approach to Register Allocation", ACM Trans. on Programming Languages and Systems, vol. 12, No. 4, Oct. 1990, pp. 501-536.
- G. Chaitin, "Register Allocation & Spilling Via Graph Coloring", IBM Research, Yorktown Heights, NY, 1982, 4 pages.
- M. Poletto et al., "Linear Scan Register Alocation" ACM Trans. on Programming Languages and Systems, vol. 21, No. 5, Sep. 1999, pp. 895-913.
- S. Freudenberger et al., "Phase Ordering of Register Allocation and Instruction Scheduling", Presented at Code Generation-Concepts, Tools & Techniques, Jul. 1991, 10 pages.