Intel® C++ Compiler 16.0 User and Reference Guide

mregparm

Control the number registers used to pass integer arguments.

Architecture Restrictions

Only available on IA-32 architecture

Syntax

Linux and OS X:

-mregparm=n

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.

IDE Equivalent

None

Alternate Options

None

See Also