> On Apr 9, 2024, at 9:48 PM, Matheus Afonso Martins Moreira via Gcc 
> <gcc@gcc.gnu.org> wrote:
> 
> ...
> MIPS calling conventions work like this:
> 
>> mips/n32,64 a0 a1 a2 a3 a4 a5
>> mips/o32    a0 a1 a2 a3 ...
>> mips/o32    args5-8 are passed on the stack

Yes, for regular function calls, but at least in the case of NetBSD, not for 
syscalls.  They have a somewhat odd calling convention that doesn't match any 
of the normal function call ABIs, though it's similar.

        paul

Reply via email to