projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add Arm to the copyright file
[musl]
/
src
/
unistd
/
sh
/
pipe.s
1
.global pipe
2
.type pipe, @function
3
pipe:
4
mov #42, r3
5
trapa #31
6
7
! work around hardware bug
8
or r0, r0
9
or r0, r0
10
or r0, r0
11
or r0, r0
12
or r0, r0
13
14
cmp/pz r0
15
bt 1f
16
17
mov.l L1, r1
18
braf r1
19
mov r0, r4
20
21
1: mov.l r0, @(0,r4)
22
mov.l r1, @(4,r4)
23
rts
24
mov #0, r0
25
26
.align 2
27
L1: .long __syscall_ret@PLT-(1b-.)