Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of 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.

IDE Equivalent

None

Alternate Options

None

See Also