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