Developer Guide and Reference

Contents

mregparm

Lets you control the number registers used to pass integer arguments.
Architecture Restrictions
Only available on IA-32 architecture

Syntax

Linux:
-mregparm
=
n
macOS:
None
Windows:
None
Arguments
n
Specifies the number of registers to use when passing integer arguments. You can specify at most 3 registers. If you specify a nonzero value for
n
, you must build all modules, including startup modules, and all libraries, including system libraries, with the same value.
Default
OFF
The compiler does not use registers to pass arguments.
Description
Control the number registers used to pass integer arguments. This option is provided for compatibility with gcc.
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