... | ... | @@ -33,7 +33,8 @@ The result on the right might or might not be the same as the platform specific |
|
|
|
|
|
Linux and macOS use the System V ABI:
|
|
|
|
|
|
* aggregate type up to 128 bit are passed by value; above 128 bit as a pointer
|
|
|
* Roughly: aggregate type up to 128 bit are passed by value; above 128 bit as a pointer
|
|
|
* The exact details are in the section 3.2.3 in the [X86-64 ABI](https://www.uclibc.org/docs/psABI-x86_64.pdf).
|
|
|
* integers of any size in the struct get packed into i64 ints
|
|
|
* floats get packed into a double (`<2 x float>`, a VectorType)
|
|
|
|
... | ... | |