Patents
US 7,140,009 B2#8349515 Most CitedExpiredUnited States (USPTO)Utility

Unrolling transformation of nested loops

12Forward Citations (#8349515 Global)
0.6/yrCitation Velocity (#13013797 Global)
2.44Citation PageRank (#10592286 Global)
11Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A transformation technique for nested loops. A virtual iteration space may be determined based on an unroll factor (UF). The virtual iteration space, which includes the actual iteration space, is fanned such that, the virtual iteration space may be evenly divided by a selected UF. Once the virtual iteration space has been calculated or determined, the virtual iteration space is “cut” into regular portions by one or more unroll factors. Portions of the actual iteration space which do not fill the cut portions of the virtual iteration space or which fall outside these cuts which have been evenly divided by the unroll factor form a residue which is calculated. The portions of the actual iteration space which remain arc also evenly divided by the unroll factor(s). An outer loop for this remaining portion of the actual iteration space is then unrolled. This unrolled portion forms a perfect nested loop.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for unrolling loops in a loop nest, said loop nest iterating aver an actual iteration space of n-dimension, said method comprising: accounting for residues, said residues comprising portions of said actual iteration space falling outside of, or incompletely overlapping with, cuts of a virtual iteration space, said virtual iteration space comprising said actual iteration space and said virtual iteration space evenly divided by an unrolling factor, said cuts and said virtual iteration space having n-dimensions; unrolling at least one outer loop of said loop nest, sa

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (3)

  • ACM 1997, "Compiler Blockability of Dense Matrix Facorizations", by S. Carr pp. 336-361.
  • ACM 2000, "Optimized Unrolling of Nested Loops", by V. Sarkar, pp. 153-166.
  • IEEE 1992, "Compiler Blockability of Numerical Algorithms" by S. Carr et al, pp. 114-124.