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