Method and system for assigning register class through efficient dataflow analysis
Abstract
A method is presented including assigning a first register class to at least one symbolic register in at least one instruction, determining and assigning a second register class to the at least one register, reducing register class fixups and renaming the at least one symbolic register. Also presented is a system including a processor having at least one register and a compiler executing in the processor that inputs a source program having many operation blocks. The compiler assigns a first register class in at least one instruction to at least one symbolic register, determines and assigns a second register class to the at least one symbolic register, reduces register class fixups, and renames the at least one symbolic register.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising a machine-readable storage medium containing instructions which, when executed by a machine, cause the machine to perform operations comprising: assigning a first register class to at least one symbolic register in at least one instruction; assigning a second register class to the at least one symbolic register based at least in part on a linear conjunctive forward dataflow analysis that iterates a basic block of instructions in a compilation unit only once; moving existing register class fixups for the assignment of the second register class to a different location and
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 8,819,636 B2 | Testing compatibility of a computer application | 2014 | 4 |
| US 2011321014 A1 | Testing compatibility of a computer application | — | 29 |
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- Auslander et al., "Fast, Effective Dynamic Compilation," ACM, p. 149-159, 1996.
- Beatty, Register assignment algorithm for generation of highly optimized object code, IBM, 1974.
- Bergamaschi et al., "Data-Path Synthesis Using Path Analysis," ACM, 1991.
- Esparza et al., "Efficient algorithms for pre* and post* on interprocedural parallel flow graphs," ACM, 2000.
- Hirnschrott et al., "Graph Cooring vs. Optimal Register Allocation for Optimizing Compilers," Springer, Oct. 22, 2003.