Strength reduction compiler optimizations for operations with unknown strides
Abstract
An optimizing compiler includes a strength reduction mechanism that optimizes a computer program that includes operations that have an unknown stride 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 operations with unknown strides. 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: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a computer program residing in the memory, the computer program including a plurality of instructions; and an optimizing compiler residing in the memory and executed by the at least one processor, the optimizing compiler including a strength reduction mechanism that performs the steps of: (A) generating a control flow graph of the computer program, the control flow graph comprising a plurality of basic blocks; (B) generating a dominator tree that represents which basic blocks in the control flow gr
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 (50)
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.
- Ball et al., "Optimally profiling and tracing programs", ACM Trans. Program. Lang. Syst. 16, 4 (Jul. 1994), [Retrieved from the Internet] <http://dx.doi.org/10.1145/183432.183527> pp. 1319-1360.
- Ball et al., "Optimally profiling and tracing programs", ACM Trans. Program. Lang. Syst. 16, 4 (Jul. 1994), [Retrieved from the Internet] pp. 1319-1360.
- Bernstein "Multiplication by Integer Constants", 1986, Journal Software-Practice & Experience, vol. 16 issue 7, pp. 641-652.