Developer Guide and Reference

Contents

Qsfalign

Specifies stack alignment for functions.
Architecture Restrictions
Only available on IA-32 architecture

Syntax

Linux:
None
macOS:
None
Windows:
/Qsfalign
[
n
]
Arguments
n
Is the byte size of aligned variables. Possible values are:
8
Specifies that alignment should occur for functions with 8-byte aligned variables. At this setting the compiler aligns the stack to 16 bytes if there is any 16-byte or 8-byte data on the stack. For 8-byte data, the compiler only aligns the stack if the alignment will produce a performance advantage.
16
Specifies that alignment should occur for functions with 16-byte aligned variables. At this setting, the compiler only aligns the stack for 16-byte data. No attempt is made to align for 8-byte data.
Default
/Qsfalign8
Alignment occurs for functions with 8-byte aligned variables.
Description
This option specifies stack alignment for functions. It lets you disable the normal optimization that aligns a stack for 8-byte data.
If you do not specify
n
, stack alignment occurs for all functions. If you specify
/Qsfalign-
, no stack alignment occurs for any function.
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