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]
/
stdlib
/
mod_1.shared.s
blob
a30d6d599554620f1819189ed5d07faa66764d87
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 __mpn_mod_1
9
.type __mpn_mod_1, @function
10
__mpn_mod_1
:
11
movq
%
rdx
, %
r8
12
xorl
%
edx
, %
edx
13
testq
%
rsi
, %
rsi
14
je
.L1
15
leaq
-
1
(%
rsi
), %
rcx
16
movq
(%
rdi
,%
rcx
,
8
), %
rdx
17
cmpq
%
r8
, %
rdx
18
jnb
.L6
19
leaq
-
2
(%
rsi
), %
rcx
20
.L3:
21
testq
%
rcx
, %
rcx
22
js
.L1
23
.p2align 4,,10
24
.p2align 3
25
.L4:
26
movq
(%
rdi
,%
rcx
,
8
), %
rax
27
subq $
1
, %
rcx
28
#APP
29
# 185 "mod_1.c" 1
30
divq
%
r8
31
# 0 "" 2
32
#NO_APP
33
cmpq $
-
1
, %
rcx
34
jne
.L4
35
.L1:
36
movq
%
rdx
, %
rax
37
ret
38
.p2align 4,,10
39
.p2align 3
40
.L6:
41
xorl
%
edx
, %
edx
42
jmp
.L3
43
.size __mpn_mod_1, .-__mpn_mod_1