Developer Guide and Reference

Contents

nofusion

Prevents a loop from fusing with adjacent loops.

Syntax

#pragma nofusion
Arguments
None
Description
The
nofusion
pragma lets you fine tune your program on a loop-by-loop basis. This pragma should be placed immediately before the loop that should not be fused.
Example
#define SIZE 1024 int sub () { int B[SIZE], A[SIZE]; int i, j, k=0; for(j=0; j<SIZE; j++) A[j] = A[j] + B[j]; #pragma nofusion for (i=0; i<SIZE; i++) k += A[i] + 1; return k; }

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804