×

Unrolling transformation of nested loops

  • US 7,140,009 B2
  • Filed: 11/14/2002
  • Issued: 11/21/2006
  • Est. Priority Date: 06/28/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. 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, said unrolled outer loop bounded by cuts of said virtual iteration space falling completely within said actual iteration space;

    calculating a boundary of said virtual iteration space using said unrolling factor, wherein said unrolling factor is used to determine a next integer value greater than an upper bound of the outer loop which is evenly divisible by said unrolling factor.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×