projects
/
profile
/
ivi
/
syslinux.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge with git+ssh://master.kernel.org/pub/scm/boot/syslinux/syslinux.git
[profile/ivi/syslinux.git]
/
memdisk
/
memcpy.S
1
#
2
# memcpy.S
3
#
4
# Simple memcpy() implementation
5
#
6
7
.text
8
.globl memcpy
9
.type memcpy, @function
10
memcpy:
11
cld
12
pushl %edi
13
pushl %esi
14
movl 12(%esp),%edi
15
movl 16(%esp),%esi
16
movl 20(%esp),%eax
17
movl %eax,%ecx
18
shrl $2,%ecx
19
rep ; movsl
20
movl %eax,%ecx
21
andl $3,%ecx
22
rep ; movsb
23
movl 12(%esp),%eax
24
popl %esi
25
popl %edi
26
ret
27
28
.size memcpy,.-memcpy