repo.or.cz
/
nyanglibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clarify the purpose of this project
[nyanglibc.git]
/
nptl
/
pthread_barrier_init.s
blob
995b595fe6ba76c02bc3f164dd40608f64bf697c
1
.text
2
.p2align 4,,15
3
.globl __pthread_barrier_init
4
.type __pthread_barrier_init, @function
5
__pthread_barrier_init
:
6
leal
-
1
(%
rdx
), %
eax
7
cmpl
$
2147483645
, %
eax
8
ja
.L5
9
xorl
%
eax
, %
eax
10
testq
%
rsi
, %
rsi
11
movl $
0
,
16
(%
rdi
)
12
movl
%
edx
,
8
(%
rdi
)
13
movq $
0
, (%
rdi
)
14
je
.L4
15
movl
(%
rsi
), %
edx
16
xorl
%
eax
, %
eax
17
testl
%
edx
, %
edx
18
setne
%
al
19
sall $
7
, %
eax
20
.L4:
21
movl
%
eax
,
12
(%
rdi
)
22
xorl
%
eax
, %
eax
23
ret
24
.p2align 4,,10
25
.p2align 3
26
.L5:
27
movl $
22
, %
eax
28
ret
29
.size __pthread_barrier_init, .-__pthread_barrier_init
30
.weak pthread_barrier_init
31
.set pthread_barrier_init,__pthread_barrier_init