repo.or.cz
/
rofl0r-memcpy-test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
build.sh: warn without opts, don't enforce C99
[rofl0r-memcpy-test.git]
/
musl_1124.s
blob
fd7aaa16d30b6ca4673621a9170eae483f23b0a8
1
.global mymemcpy
2
.global __mymemcpy_fwd
3
.hidden __mymemcpy_fwd
4
.type mymemcpy,@function
5
mymemcpy
:
6
__mymemcpy_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