From 8cace3f05003c6cb4d38c36890055f03151c2ad4 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Fri, 16 Oct 2026 02:39:56 +0800 Subject: Remove old code Signed-off-by: Richard Qin --- lib/string/x86_64/memcpy.s | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 lib/string/x86_64/memcpy.s (limited to 'lib/string/x86_64/memcpy.s') diff --git a/lib/string/x86_64/memcpy.s b/lib/string/x86_64/memcpy.s deleted file mode 100644 index 3d960ef..0000000 --- a/lib/string/x86_64/memcpy.s +++ /dev/null @@ -1,25 +0,0 @@ -.global memcpy -.global __memcpy_fwd -.hidden __memcpy_fwd -.type memcpy,@function -memcpy: -__memcpy_fwd: - mov %rdi,%rax - cmp $8,%rdx - jc 1f - test $7,%edi - jz 1f -2: movsb - dec %rdx - test $7,%edi - jnz 2b -1: mov %rdx,%rcx - shr $3,%rcx - rep - movsq - and $7,%edx - jz 1f -2: movsb - dec %edx - jnz 2b -1: ret -- cgit v1.2.3