repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move msghdr and cmsghdr out of bits/socket.h
[musl.git]
/
src
/
string
/
x86_64
/
memcpy.s
blob
3d960efa8936441dc468b243e75885880435df46
1
.global memcpy
2
.global __memcpy_fwd
3
.hidden __memcpy_fwd
4
.type memcpy,@function
5
memcpy
:
6
__memcpy_fwd
:
7
mov
%
rdi
,%
rax
8
cmp
$
8
,%
rdx
9
jc
1
f
10
test $
7
,%
edi
11
jz
1
f
12
2
:
movsb
13
dec
%
rdx
14
test $
7
,%
edi
15
jnz
2
b
16
1
:
mov
%
rdx
,%
rcx
17
shr $
3
,%
rcx
18
rep
19
movsq
20
and
$
7
,%
edx
21
jz
1
f
22
2
:
movsb
23
dec
%
edx
24
jnz
2
b
25
1
:
ret