Patent ID: 8171464

Claim:
A computer program product stored on a non-transitory computer operable media, the non-transitory computer operable media containing instructions for execution by a computer, which, when executed by the computer, cause the computer to implement a method comprising: generating a preliminary simdization of a loop, wherein the loop includes a first statement that has a first memory reference and a second statement that has a second memory reference, wherein the first memory reference and the second memory reference are aligned differently; peeling a first number of iterations corresponding to the first statement from the preliminary simdization of the loop; peeling a second number of iterations corresponding to the second statement from the preliminary simdization of the loop, wherein the first number of iterations is a different value than the second number of iterations; augmenting the peeled first number of iterations with vector-splicing instructions such that the peeled first number of iterations modifies only a subset of a vector associated with the first statement; and augmenting the peeled second number of iterations with the vector-splicing instructions such that the peeled second number of iterations modifies only a subset of a vector associated with the second statement.