x86: Move strcmp SSE2 implementation to multiarch/strcmp-sse2.S
commitd561fbb041fe6aa205f652aecefe4bb84fd124a5
authorNoah Goldstein <goldstein.w.n@gmail.com>
Tue, 12 Jul 2022 19:28:06 +0000 (12 12:28 -0700)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 13 Jul 2022 21:55:31 +0000 (13 14:55 -0700)
tree4fa103748eb51664285b31d4186ee06b6bea35b2
parent30e57e0a21cc50eead14f729a29a5604a6b23e18
x86: Move strcmp SSE2 implementation to multiarch/strcmp-sse2.S

This commit doesn't affect libc.so.6, its just housekeeping to prepare
for adding explicit ISA level support.

Because strcmp-sse2.S implements so many functions (more from
avx2/evex/sse42) add a new file 'strcmp-naming.h' to assist in
getting the correct symbol name for all the function across
multiarch/non-multiarch builds.

Tested build on x86_64 and x86_32 with/without multiarch.
sysdeps/x86_64/multiarch/rtld-strcmp.S [copied from sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S with 73% similarity]
sysdeps/x86_64/multiarch/rtld-strncmp.S [copied from sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S with 73% similarity]
sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S
sysdeps/x86_64/multiarch/strcmp-naming.h [new file with mode: 0644]
sysdeps/x86_64/multiarch/strcmp-sse2.S [moved from sysdeps/x86_64/strcmp.S with 89% similarity]
sysdeps/x86_64/multiarch/strncase_l-sse2.S
sysdeps/x86_64/multiarch/strncmp-sse2.S
sysdeps/x86_64/strcasecmp_l.S
sysdeps/x86_64/strcmp.S [copied from sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S with 73% similarity]
sysdeps/x86_64/strncase_l.S
sysdeps/x86_64/strncmp.S