Method and apparatus for integrated instruction scheduling and register allocation in a postoptimizer
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)
- 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.
- Claim 2Depends on #1
The method of claim 1 , wherein the instruction region comprises one or more instructions required to be executed.
- 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 ↗
Cited By — Indexed Forward Citations (15 of 37 total)
References Cited — Backward Prior Art (17)
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.