Developer Guide and Reference

Contents

code_align

Specifies the byte alignment for a loop

Syntax

#pragma code_align
(n)
Arguments
n
Optional. A positive integer initialization expression indicating the number of bytes for the minimum alignment boundary. Its value must be a power of 2, between 1 and 4096, such as 1, 2, 4, 8, and so on.
If you specify 1 for
n
, no alignment is performed. If you do not specify n, the default alignment is 16 bytes.
Description
This pragma must precede the loop to be aligned.
If the code is compiled with the
Qalign-loops:m
option, and a
code_align(n)
pragma precedes a loop, the loop is aligned on a max
(m, n)
byte boundary. If a procedure has the
code_align(k)
attribute and a
code_align(n)
pragma precedes a loop, then both the procedure and the loop are aligned on a max
(k, n)
byte boundary.

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