Was reading about assembly, part about conventions of calling routines in assembly(Linux, especially).
It is said first 8 floating-point parameters are passed via xmm0
-xmm15
and other parameters in registers rdi
, rsi
, rdx
, rcx
, r8
, r9
, and other remaining parameters should be pushed to stack in reverse order.
What if I have more than 8 floating-point parameters and more than 6 other parameters, in what order should one push them to stack? First floating-point values that do not fit in 8 fp. registers or other parameters that do not fit in 6 registers?