x86: Move strcmp SSE42 implementation to multiarch/strcmp-sse4_2.S

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

Tested build on x86_64 and x86_32 with/without multiarch.
This commit is contained in:
Noah Goldstein 2022-07-12 12:28:08 -07:00
parent 427eaa2c85
commit 60a583ec60
5 changed files with 1766 additions and 1792 deletions

View file

@ -16,6 +16,5 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
#define STRCMP_SSE42 __strcasecmp_l_sse42
#define USE_AS_STRCASECMP_L
#include "strcmp-sse42.S"
#include "strcmp-sse4_2.S"

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -16,6 +16,5 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
#define STRCMP_SSE42 __strncasecmp_l_sse42
#define USE_AS_STRNCASECMP_L
#include "strcmp-sse42.S"
#include "strcmp-sse4_2.S"

View file

@ -16,8 +16,5 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
#if IS_IN (libc)
# define STRCMP_SSE42 __strncmp_sse42
# define USE_AS_STRNCMP
# include "strcmp-sse42.S"
#endif
#define USE_AS_STRNCMP
#include "strcmp-sse4_2.S"