Strength reduction compiler optimizations
Abstract
An optimizing compiler includes a strength reduction mechanism that optimizes a computer program that includes conditional operations by analyzing the instructions in the computer program in a single pass, determining whether instruction substitution is profitable for original instructions in the code, and performing instruction substitution for one or more original instructions for which instruction substitution is deemed profitable, including conditional operations. The substituted instructions result in strength reduction in the computer program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 34 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method executed by at least one processor for processing a plurality of instructions in a computer program, the method comprising the steps of: generating a control flow graph of the plurality of instructions in the computer program; generating a dominator tree corresponding to the control flow graph that indicates which blocks in the control flow graph dominate other blocks in the control flow graph; generating a candidate table of instructions in an order determined by the dominator tree, wherein for each instruction the candidate table comprises a base value and an in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (34)
Non-Patent Literature (5)
- Aho, Alfred V.; Sethi, Ravi; and Ullman, Jeffery D., "Compilers: Principles, Techniques, and Tools" c.1986 Reprinted Mar. 1988 Addison-Wesley pp. 585-604.
- Bacon et al., Compiler Transformations for High-Performance Computing, ACM Computing Surveys, vol. 26, No. 4, Dec. 1994, pp. 345-420.
- Bernstein "Multiplication by Integer Constants", 1986, Journal Software-Practice & Experience, vol. 16 issue 7, pp. 641-652.
- Bugzilla webpage printout, "Straight line strength reduction", http://gcc.gnu.org/bugzilla/show-bug.cgi?id=35308, last comment dated Jun. 28, 2012, printed Jan. 9, 2013.
- Cooper et al. "Operator Strength Reduction", 2001, ACM Transactions on Programming Languages and Systems, vol. 23, issue 5.