git: 5ebd4d0dd2f4 - main - lib/libc/aarch64/string: add memcpy SIMD implementation

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Fri, 10 Jan 2025 15:03:59 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/src/commit/?id=5ebd4d0dd2f45040aa5e5b028a4b93163aea6899

commit 5ebd4d0dd2f45040aa5e5b028a4b93163aea6899
Author:     Getz Mikalsen <getz@FreeBSD.org>
AuthorDate: 2024-08-26 18:13:44 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-01-10 15:02:40 +0000

    lib/libc/aarch64/string: add memcpy SIMD implementation
    
    I noticed that we have a SIMD optimized memcpy in the
    arm-optimized-routines in /contrib.
    
    This patch ensures we use the SIMD variant as opposed to the Scalar
    optimized variant.
    
    Benchmarks are generated by fuz' strperf utility.
    
    See the DR for benchmark results.
    
    Tested by:      fuz (exprun)
    Reviewed by:    fuz, emaste
    Sponsored by:   Google LLC (GSoC 2024)
    PR:             281175
    Differential Revision: https://reviews.freebsd.org/D46251
---
 lib/libc/aarch64/string/memcpy.S | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/libc/aarch64/string/memcpy.S b/lib/libc/aarch64/string/memcpy.S
index f403dd2e42a8..53e860750eb2 100644
--- a/lib/libc/aarch64/string/memcpy.S
+++ b/lib/libc/aarch64/string/memcpy.S
@@ -1,3 +1,3 @@
-#define	__memcpy_aarch64	memcpy
-#define	__memmove_aarch64	memmove
-#include "aarch64/memcpy.S"
+#define	__memcpy_aarch64_simd	memcpy
+#define	__memmove_aarch64_simd	memmove
+#include "aarch64/memcpy-advsimd.S"