Lets you control the number registers used to pass integer arguments.
Only available on IA-32 architecture
Linux: | -mregparm=n |
Windows: | None |
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. |
OFF |
The compiler does not use registers to pass arguments. |
Control the number registers used to pass integer arguments. This option is provided for compatibility with gcc.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
None