OSDN Git Service

implement inline 5- and 6-argument syscalls for mipsn32 and mips64
authorRich Felker <dalias@aerifal.cx>
Wed, 10 Apr 2019 23:51:47 +0000 (19:51 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 10 Apr 2019 23:56:08 +0000 (19:56 -0400)
commit1bcdaeee6e659f1d856717c9aa562a068f2f3bd4
tree532c627fa3b0c76225741ee31a7266c38496f888
parentd3b4869cd3a1861f824b9a97c3078846748764f0
implement inline 5- and 6-argument syscalls for mipsn32 and mips64

n32 and n64 ABIs add new argument registers vs o32, so that passing on
the stack is not necessary, so it's not clear why the 5- and
6-argument versions were special-cased to begin with; it seems to have
been pattern-copying from arch/mips (o32).

i've treated the new argument registers like the first 4 in terms of
clobber status (non-clobbered). hopefully this is correct.
arch/mips64/syscall_arch.h
arch/mipsn32/syscall_arch.h