Download Blue Gene/L: Application Development

Transcript
Copy-primary operations perform SIMD computation between the corresponding primary
and secondary elements of two input operands, where the primary element of the first
operand is replicated to the secondary element. As an example, Figure 5-3 illustrates how a
cross-primary-multiply operation is performed.
Input
operand a
Primary element
Secondary element
Input
operand b
Primary element
Secondary element
Primary element
Secondary element
Output
Figure 5-3 Copy-primary operations
Copy-secondary operations perform SIMD computation between the corresponding primary
and secondary elements of two input operands, where the secondary element of the first
operand is replicated to the primary element. As an example, Figure 5-4 illustrates how a
cross-secondary-multiply operation is performed.
Input
operand a
Primary element
Secondary element
Input
operand b
Primary element
Secondary element
Output
Primary element
Secondary element
Figure 5-4 Copy-secondary operations
Chapter 5. Developing applications with IBM XL compilers
53