repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
implement inline 5- and 6-argument syscalls for mipsn32 and mips64
[musl.git]
/
src
/
internal
/
mips64
/
syscall.s
blob
98448667abecb84a8bb87664c15643debdb29c0a
1
.set noreorder
2
.global __syscall
3
.hidden __syscall
4
.type __syscall,@function
5
__syscall
:
6
move $
2
,
$
4
7
move $
4
,
$
5
8
move $
5
,
$
6
9
move $
6
,
$
7
10
move $
7
,
$
8
11
move $
8
,
$
9
12
move $
9
,
$
10
13
move $
10
,
$
11
14
syscall
15
beq
$
7
,
$
0
,
1
f
16
nop
17
dsubu $
2
,
$
0
,
$
2
18
1
:
jr $ra
19
nop