Loop Unrolling Transformation: Difference between revisions

Jump to navigation Jump to search
Line 68: Line 68:
In the following example, partial loop unrolling is applied with an unroll factor of 3.
In the following example, partial loop unrolling is applied with an unroll factor of 3.


Please note: The condition <code>i < n - 2</code> would be incorrect if <code>n</code> could be <code>INT_MIN</code>, due to potential overflow.
Please note: A condition of <code>i < n - 2</code> would be incorrect as <code>n - 2</code> overflow for values like <code>n = INT_MIN</code>.


{| class="wikitable"
{| class="wikitable"
Bots, Bureaucrats, Interface administrators, smwadministrator, smwcurator, smweditor, Administrators
2,557

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu