Advance trip count computation in a concurrent processing environment

A method for computing a trip count for a loop in advance of the execution of the loop is provided. The method comprises identifying the elements of a loop; returning infinity, if a first index value satisfies a first condition and that a first step size is equal to zero; modifying the first index v...

Full description

Saved in:
Bibliographic Details
Main Author ROBISON ARCH D
Format Patent
LanguageEnglish
Published 18.06.2013
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method for computing a trip count for a loop in advance of the execution of the loop is provided. The method comprises identifying the elements of a loop; returning infinity, if a first index value satisfies a first condition and that a first step size is equal to zero; modifying the first index value and the first step size, if the first index value satisfies the first condition, when the first step size is not equal to zero, and the first step size is greater than half of a first modulus; returning the result computed by applying a formula that divides the difference between a first condition value and the first index value by the first step size and rounds up to a next integer when there is a non-zero remainder; and returning a second trip count for a second loop based on the elements of the first loop.
Bibliography:Application Number: US20080057287