Developer Guide and Reference

Contents

falign-functions, Qfnalign

Tells the compiler to align
functions
on an optimal byte boundary.

Syntax

Linux and macOS:
-falign-functions
[
=
n
]
-fno-align-functions
Windows:
/Qfnalign
[
:
n
]
/Qfnalign-
Arguments
n
Is an optional positive integer initialization expression indicating the number of bytes for the minimum alignment boundary. It tells the compiler to align
functions
on a power-of-2 byte boundary. If you do not specify
n
, the compiler aligns the start of
functions
on 16-byte boundaries.
The
n
must be a positive integer less than or equal to 4096. If you specify a value that is not a power of 2,
n
will be rounded up to the nearest power of 2. For example, if 23 is specified for
n
,
functions
will be aligned on 32 byte boundaries.
Default
-fno-align-functions
or
/Qfnalign-
The compiler aligns
functions
on 2-byte boundaries. This is the same as specifying
-falign-functions=2
(Linux* and
macOS*
)
or
/Qfnalign:2
(Windows*)
.
Description
This option tells the compiler to align
functions
on an optimal byte boundary. If you do not specify
n
, the compiler aligns the start of
functions
on 16-byte boundaries.
Alternate Options
None

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