Patents
US 6,571,385 B1#1661841 Most CitedExpiredUnited States (USPTO)Utility

Early exit transformations for software pipelining

36Forward Citations (#1661841 Global)
1.6/yrCitation Velocity (#3206393 Global)
6.82Citation PageRank (#1999536 Global)
9Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

The invention is directed to the transformation of software loops having early exit conditions, thereby allowing the loops to be more effectively converted to a single basic block for software pipelining. The invention assigns a predicate register for each early exit condition of the software loop. The predicate registers are set when the corresponding early exit condition is satisfied. In this manner, when the loop terminates the predicate registers can be examined to indicate which early exit conditions were satisfied. The invention produces loops having a lower recurrence II and resource II than conventional techniques.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for transforming a software loop having one or more early exits comprising: assigning a predicate register for each early exit of a software loop; setting the assigned predicate register when the corresponding early exit condition is satisfied; and examining the assigned predicate registers when the software loop terminates to determine which early exit conditions are satisfied.

  2. Claim 2Depends on #1

    The method of claim 1 and further comprising: assigning a predicate register for a loop branch that controls whether the software loop is repeated; initializing the predicate register controlling the loop branch such that loop branch defaults to exiting the loop; and modifying the early exits to jump to the loop branch.

  3. Claim 3Depends on #1

    The method of claim 1 and further

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

PatentTitleYearCitations
US 9,513,922 B2Computer system and a method for generating an optimized program code20161
US 7,237,229 B2Debugging aid parallel execution of a plurality of iterations with source lists display corresponding to each iteration200722
US 2003120900 A1Apparatus and method for a software pipeline loop procedure in a digital signal processor—20
US 2003033592 A1Software debugger and software development support system—41
US 8,015,391 B2Simultaneous multiple thread processor increasing number of instructions issued for thread detected to be processing loop20112
CN 101,373,427 BProgram execution control device20130
US 6,983,361 B1Apparatus and method for implementing switch instructions in an IA64 architecture20067
US 7,448,031 B2Methods and apparatus to compile a software program to manage parallel μcaches20088
US 2003028862 A1Debugger impact reduction through motion of induction variable based breakpoints—21
US 2002129228 A1Mechanism to avoid explicit prologs in software-pipelined loops—5
US 2006174237 A1Mechanism for pipelining loops with irregular loop control—9
US 2011029763 A1Branch predictor for setting predicate flag to skip predicated branch instruction execution in last iteration of loop processing—5
US 6,820,250 B2Mechanism for software pipelining loop nests200449
US 6,971,089 B2Debugger impact reduction through motion of induction variable based breakpoints20057
US 2004133886 A1Methods and apparatus to compile a software program to manage parallel mucaches—16

Non-Patent Literature (3)

  • Advanced Compiler Design & Implementation, Steven S. Muchnick, Chapters 17-20 , published Aug. 19, 1997.*
  • Compilers Principles, Techniques and Tools, Aho et al, Chapters 9-10, published Sep. 12, 1985.*
  • Tirumalai, P., et al., "Parallelization of Loops with Exits on Pipelined Architectures", Supercomputing Conference, Sponsored by IEEE Computer Society, 200-212, (Dec. 1990).