Intermediate form for bitwidth sensitive applications and uses thereof
Abstract
Techniques for representing a program are provided. The techniques include creating one or more sub-variables for each of one or more variables in the program, and maintaining a single size of each of the one or more variables throughout a life-span of each of the one or more variables. Additionally, techniques for performing register allocation are also provided. The techniques include representing bit-width information of each of one or more variables in a powers-of-two representation, wherein the one or more variables comprise one or more variables in a program, coalescing the one or more variables, packing the one or more coalesced variables, and using the one or more packed variables to perform register allocation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for performing register allocation, comprising the steps of: representing a program in width-single static assignment (W-SSA) form, wherein said representing comprises: creating one or more sub-variables for each of a plurality of variables in the program; and maintaining a single size of each of the plurality of variables throughout a life-span of each of the plurality of variables; coalescing the plurality of variables based on a size determination for each variable to produce a plurality of coalesced variables, wherein said coalescing comprises: coalescing, for each distinct variab
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)
References Cited — Backward Prior Art (29)
Non-Patent Literature (5)
- Alstrup, et al. Dominators in linear time. DIKU technical report, (35), 1996.
- Appel et al. Optimal spilling for CISC machines with few registers. In SIGPLAN'01 Conference on Programming Language Design and Implementation, pp. 243-253, 2001.
- Arindam Mallik, Smart Bit-width Allocation for Low Power Optimization in a System C based ASIC Design Environment, Department of Electrical Engineering & Computer Science Northwestern University, 2006, pp. 4-17.
- Barik et al. Enhanced bitwidth-aware register allocation. In CC, pp. 263-276, 2006.
- Bar-Noy, et al. Windows scheduling as a restricted version of bin packing. In SODA '04: Proceedings of the fifteenth annual ACM-SIAM symposium on Discrete algorithms, pp. 224-233, 2004.