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]
/
posix
/
times.shared.s
blob
1cb375e19423af0ec268fd17601c5e9a60989b4e
1
.text
2
#APP
3
memmove
=
__GI_memmove
4
memset
=
__GI_memset
5
memcpy
=
__GI_memcpy
6
#NO_APP
7
.p2align 4,,15
8
.globl __times
9
.type __times, @function
10
__times
:
11
movl $
100
, %
eax
12
#APP
13
# 26 "../sysdeps/unix/sysv/linux/times.c" 1
14
syscall
15
16
# 0 "" 2
17
#NO_APP
18
cmpq $
-
4096
, %
rax
19
movq
%
rax
, %
rdx
20
jbe
.L2
21
cmpq $
-
14
, %
rax
22
je
.L14
23
.L2:
24
cmpq $
-
1
, %
rax
25
movl $
0
, %
edx
26
cmovne
%
rax
, %
rdx
27
.L1:
28
movq
%
rdx
, %
rax
29
ret
30
.p2align 4,,10
31
.p2align 3
32
.L14:
33
testq
%
rdi
, %
rdi
34
je
.L1
35
movq
(%
rdi
), %
rax
36
movq
%
rax
, (%
rdi
)
37
movq
8
(%
rdi
), %
rax
38
movq
%
rax
,
8
(%
rdi
)
39
movq
16
(%
rdi
), %
rax
40
movq
%
rax
,
16
(%
rdi
)
41
movq
24
(%
rdi
), %
rax
42
movq
%
rax
,
24
(%
rdi
)
43
jmp
.L1
44
.size __times, .-__times
45
.weak times
46
.set times,__times