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]
/
time
/
ftime.s
blob
9c7f23b6f80fdd915caddb2582a50d0f1340fd9f
1
.text
2
.p2align 4,,15
3
.globl ftime
4
.type ftime, @function
5
ftime
:
6
pushq
%
rbx
7
movq
%
rdi
, %
rbx
8
xorl
%
edi
, %
edi
9
subq $
16
, %
rsp
10
movq
%
rsp
, %
rsi
11
call __clock_gettime
12
movq
(%
rsp
), %
rax
13
movq
8
(%
rsp
), %
rcx
14
movabsq $
4835703278458516699
, %
rdx
15
movl $
0
,
10
(%
rbx
)
16
movq
%
rax
, (%
rbx
)
17
movq
%
rcx
, %
rax
18
sarq $
63
, %
rcx
19
imulq
%
rdx
20
xorl
%
eax
, %
eax
21
sarq $
18
, %
rdx
22
subq
%
rcx
, %
rdx
23
movw
%
dx
,
8
(%
rbx
)
24
addq $
16
, %
rsp
25
popq
%
rbx
26
ret
27
.size ftime, .-ftime
28
.hidden __clock_gettime