Method and apparatus for improving colorability of constrained nodes in an interference graph within a computer system
Abstract
A method and apparatus for coloring an interference graph yields a higher number of colored nodes by taking into consideration the colors of neighbors of a node's uncolored constrained neighbors. By assigning a color to a node that is also the color of a neighbor of an uncolored constrained neighbor, one color constraint is removed, increasing the probability of coloring the uncolored constrained neighbor. If more than one of the neighbors of the uncolored constrained neighbors are colored, one of the colors may be selected over the others using an appropriate heuristic.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 42.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer apparatus comprising: a central processing unit having a plurality of registers, the central processing unit executing a first instruction stream and in response to the first instruction stream, the central processing unit operates on information stored in the plurality of registers; a compiler for generating the first instruction stream from a second instruction stream, the second instruction stream having a plurality of variables, the compiler including: a live range calculator for determining a plurality of live ranges for the plurality of variables; a register allocator for
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 42 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (5)
- Auslander & Hopkins, An Overview of the PL.8 Compiler, ACM SIGPLAN Notices, vol. 17, No. 6, Jun. 1982.
- David Bernstein, Dina Goldin, Martin Golumbic, Hugo Krawczyk, Yishay Mansour, Itai Nahshon and Ron Pinter, Spill Code Minimization Techinques for Optimizing Compilers, ACM SIGPLAN Conference on Programming Languages Design and Implementation, 1989.
- David Callahan & Brian Koblenz, "Register Allocation via Hierarchical Graph Coloring", Proceedings of the ACM SIGPLAN '91 Conference on Programming Language Design and Implementation, SIGPLAN Notices, vol. 26, No. 6, pp. 192-203 (Jun. 1991).
- David Callahan & Brian Koblenz, Register Allocation via Hierarchical Graph Coloring , Proceedings of the ACM SIGPLAN 91 Conference on Programming Language Design and Implementation, SIGPLAN Notices, vol. 26, No. 6, pp. 192 203 (Jun. 1991).
- Fred C. Chow & John L. Hennessy, "Register Allocation by Priority-Based Coloring", Proceedings of the ACM Symposium on Compiler Construction, pp. 222-232 (Jun. 1984).