libc: remove most dynamically-selected x86 atom functions
The 'generic' versions of these all have newer impls from Intel, and
seemingly use the same feature baseline (sse2 or ssse3). There's
no obvious reason to carry these old impls around.
While I'm here, also remove the ssse3-memcpy. While that might be
a bit faster, `s/memmove/memcpy` seems slightly risky for 32-bit x86.
Bug: 358360849
Test: mma
Change-Id: I62cbf638bf4d9fdb799af93168b0cc0ea841526f
diff --git a/libc/arch-x86/string/sse2-memmove-slm.S b/libc/arch-x86/string/sse2-memmove-slm.S
index 7f42374..2ed4e7b 100644
--- a/libc/arch-x86/string/sse2-memmove-slm.S
+++ b/libc/arch-x86/string/sse2-memmove-slm.S
@@ -31,7 +31,7 @@
#define FOR_SILVERMONT
#ifndef MEMMOVE
-# define MEMMOVE memmove_generic
+# define MEMMOVE memmove
#endif
#ifndef L
@@ -551,3 +551,9 @@
jmp L(mm_recalc_len)
END (MEMMOVE)
+
+// N.B., `private/bionic_asm.h` provides ALIAS_SYMBOL, but that file provides
+// conflicting definitions for some macros in this file. Since ALIAS_SYMBOL is
+// small, inline it here.
+.globl memcpy;
+.equ memcpy, MEMMOVE