summaryrefslogtreecommitdiff
path: root/na/lib/string/x86_64/memmove.s
diff options
context:
space:
mode:
Diffstat (limited to 'na/lib/string/x86_64/memmove.s')
-rw-r--r--na/lib/string/x86_64/memmove.s16
1 files changed, 0 insertions, 16 deletions
diff --git a/na/lib/string/x86_64/memmove.s b/na/lib/string/x86_64/memmove.s
deleted file mode 100644
index 172c025..0000000
--- a/na/lib/string/x86_64/memmove.s
+++ /dev/null
@@ -1,16 +0,0 @@
-.global memmove
-.type memmove,@function
-memmove:
- mov %rdi,%rax
- sub %rsi,%rax
- cmp %rdx,%rax
-.hidden __memcpy_fwd
- jae __memcpy_fwd
- mov %rdx,%rcx
- lea -1(%rdi,%rdx),%rdi
- lea -1(%rsi,%rdx),%rsi
- std
- rep movsb
- cld
- lea 1(%rdi),%rax
- ret