Tells the compiler to use the vector calling convention (__vectorcall) when passing vector type arguments.
Linux: | None |
Windows: | /Gv |
None
OFF |
The default calling convention is __cdecl. |
This option tells the compiler to use the vector calling convention (__vectorcall) when passing vector type arguments.
It causes each function in the module to compile as __vectorcall unless the function is declared with a conflicting attribute, or the name of the function is main.
This option has been added for Microsoft compatibility.
For more details about the __vectorcall calling convention, see the Microsoft documentation.
Visual Studio: Advanced > Calling Convention
Eclipse: None
None