Strength Reduction - Strength Reduction Example

Strength Reduction Example

Below is an example that will strength reduce all the loop multiplications that arose from array indexing address calculations.

Imagine a simple loop that sets an array to the identity matrix.

for (i = 0; i < n; i++) { for (j = 0; j < n; j++) { A = 0.0; } A = 1.0; }

Read more about this topic:  Strength Reduction

Famous quotes containing the words strength and/or reduction:

    We all have strength enough to bear the misfortunes of others.
    François, Duc De La Rochefoucauld (1613–1680)

    The reduction of nuclear arsenals and the removal of the threat of worldwide nuclear destruction is a measure, in my judgment, of the power and strength of a great nation.
    Jimmy Carter (James Earl Carter, Jr.)