3 ms·
On Windows with the default cdecl calling convention structs bigger than 8 bytes don’t get passed in registers [1]. [1]: https://learn.microsoft.com/en-us/cpp/
by cmovq 3y ago
On Windows with the default cdecl calling convention structs bigger than 8 bytes don’t get passed in registers [1].
[1]: https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention?view=msvc-170 https://learn.microsoft.com/en-us/cpp/build/x64-calling-conv...