Optimization apparatus that decreases delays in pipeline processing of loop and computer-readable storage medium storing optimization program
Abstract
An optimization apparatus is capable of improving the execution efficiency of a loop that includes a loop carry dependency between consecutive iterations of the loop. For example, a value resulting from one iteration is used in an immediately following iteration. When the arithmetic expression “a[i+1]=a[i]*3+2;” is included in a loop body, and a value resulting from the arithmetic expression “a[i+1]=a[i]*3+2;” in one iteration is used in a following iteration, execution delays occur in pipeline processing of the loop. Here, the arithmetic expression “a[i+1]=a[i]*3+2;” is transformed into the arithmetic expression “a[i+4]=a[i]*81+80;” to expand the dependency distance. By doing so, the execution delays can be decreased.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An optimization apparatus comprising: a first storage means for storing a program including a loop structure composed of a body and a control statement, the body including at least one arithmetic expression and the control statement prescribing a repeat condition for the body; a detection means for reading the program stored in the first storage means and detecting from the read program a first arithmetic expression that defines a value in an i-th repetition of the body, the value being to be referred to in an (i+x)th repetition of the body, where i and x are positive integers; an estimation m
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 17 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- "Improving the Ratio of Memory Operations to Floating-Point Operations in Loops", by Steve Carr and Ken Kennedy, ACM Transactions on Programming Languages and Systems, vol. 16, No. 6 Nov. 1994, pp. 1768-1810.
- Digital Equipment Corporation, "KAP for DEC Fortran for Digital UNIX", section 4.5.21, Dec. 1996.
- Giovanni Agosta, "High-Level Dataflow and Loop Optimization for High-Performance Parallel Computing through the SUIF Compiler", Nov. 27, 2000, retrieve from internet <http://www.elet.polimi.it/upload/agosta/ACA/optimization.pdf> on Sep. 11, 2004.
- Kainaga, M. et al., "A Fast Execution of Recurrrences on Superscalar Processors", Transactions of Information Processing Society of Japan, vol. 34, No. 12, pp. 2592-2598.
- Larus, J.R., "Loop-level parallelism in numeric and symbolic programs", Parallel and Distributed Systems, IEEE Transactions on vol.: 4, Issue: 7, Jul. 1993, pp.: 812-826.