gif up gif gif
Next: A.3 Potential for improved Up: A. Dominant LOD points Previous: A.1 Examples of IF-conversion

A.2 Example of inline decoupling of intrinsics

 

The display below, taken from the experimental compiler, illustrates a case where inline decoupling of intrinsic functions can improve the outcome of decoupling. If the cmplx function were inlined before decoupling, then the loops shown here would execute on the DU. Thus, the interaction between CU and DU would be avoided, and there would be no LOD.

  
Figure 12: An LOD from OCEAN which disappears when the CMPLX function is inlined before decoupling (click on image to view at full scale)



npt@dcs.ed.ac.uk