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:

    The bugle-call to arms again sounded in my war-trained ear, the bayonets gleamed, the sabres clashed, and the Prussian helmets and the eagles of France stood face to face on the borders of the Rhine.... I remembered our own armies, my own war-stricken country and its dead, its widows and orphans, and it nerved me to action for which the physical strength had long ceased to exist, and on the borrowed force of love and memory, I strove with might and main.
    Clara Barton (1821–1912)

    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.)