Patents
US 4,802,091 A#1027718 Most CitedExpiredUnited States (USPTO)Utility

Method for improving the efficiency of arithmetic code generation in an optimizing compiler using the technique of reassociation

47Forward Citations (#1027718 Global)
1.3/yrCitation Velocity (#4614472 Global)
57.45Citation PageRank (#55976 Global)
5Prior Art Cited
2Claims (2 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A procedure for use in an optimizing compiler termed "reassociation" determines the preferred order of combining terms in a sum so as to produce loop invariant subcomputations, or to promote common subexpressions among several essential computations, by applying the associative law of addition. To achieve this, the requisite optimization of an object program or program segment, the following discrete steps must be performed after the strongly connected regions, USE and DEF chains have all been identified: 1. Find the region constants and induction variables; 2. Identify all of the essential computations; 3. Write every essential computation as a sum of products; 4. Exploit the use and DEF functions to substitute the definition of each operand R in an essential computation, if there is a unique computation of R in the strongly connected region and the defining operation is +, -, ×, or copy; 5. Fix displacements; 6. Determine how to compute each essential computation and rewrite code to use this preferred method of computation; 7. Insert code to update the new induction variables; 8. Perform linear test replacement.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 47.

Claims (2 — 2 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In an optimizing compiler, a method for use in a code optimization phase of the compiler's operation to optimize code in a program presented for compilation, said method utilizing reassociation principles to determine a preferred order of combining terms in a sum in order to produce loop invariant subcomputations and to promote common sub-expressions among several essential computations which method comprises the steps of: 1. performing control flow analysis on said code to find and indentify strongly connected regions in said program; 2.

  2. Claim 2Independent Claim

    identifying and marking USE and DEF functions in said code; 3. locating and marking region constants and induction variables in said code; 4. locating and marking all essential computations in said code;

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 47 total)

PatentTitleYearCitations
US 5,367,696 ARegister allocation technique in a program translating apparatus199422
US 5,606,698 AMethod for deriving optimal code schedule sequences from synchronous dataflow graphs199786
US 5,448,737 ASystem and method for optimizing computer code using a compact data flow representation199573
US 5,530,964 AOptimizing assembled code for execution using execution statistics collection, without inserting instructions in the code and reorganizing the code based on the statistics collected1996111
US 5,452,457 AProgram construct and methods/systems for optimizing assembled code for execution1995100
US 5,142,681 AAPL-to-Fortran translators199259
US 6,202,203 B1Method of, system for, and computer program product for providing global value numbering200118
US 2006075011 A1System and method for optimizing polynomial expressions in a processing environment—5
US 8,087,011 B2Domain stretching for an advanced dual-representation polyhedral loop transformation framework201116
US 8,504,344 B2Interface between a verification environment and a hardware acceleration engine20133
US 5,303,357 ALoop optimization system199445
US 8,402,438 B1Method and system for generating verification information and tests for software201329
US 8,087,010 B2Selective code generation optimization for an advanced dual-representation polyhedral loop transformation framework201143
US 5,319,784 ASystem for automatic and selective compile-time installation of fastpath into program for calculation of function/procedure without executing the function/procedure19943
US 6,760,632 B1Computer method for providing optimization for business processes200420

Non-Patent Literature (4)

  • Randolph G. Scarborough and Harwood G. Kolsky, "Improved Optimization of Fortran Object Programs," IBM J. Res. Develop. vol. 24, No. 6, pp. 660-676, Nov. 1980.
  • Randolph G. Scarborough and Harwood G. Kolsky, Improved Optimization of Fortran Object Programs, IBM J. Res. Develop. vol. 24, No. 6, pp. 660 676, Nov. 1980.
  • Robert Paige, "Formal Differentiation," Courant Computer Science Report #15, Courant Institute of Mathematical Sciences, New York University, Sep. 1979.
  • Robert Paige, Formal Differentiation, Courant Computer Science Report 15, Courant Institute of Mathematical Sciences, New York University, Sep. 1979.