glibc/sysdeps
Noah Goldstein 0ae1006967 x86: Optimize strcspn and strpbrk in strcspn-c.c
Use _mm_cmpeq_epi8 and _mm_movemask_epi8 to get strlen instead of
_mm_cmpistri. Also change offset to unsigned to avoid unnecessary
sign extensions.

geometric_mean(N=20) of all benchmarks that dont fallback on
sse2/strlen; New / Original: .928

All string/memory tests pass.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

(cherry picked from commit 30d627d477)
2022-05-16 18:53:28 -07:00
..
aarch64
alpha
arc
arm
csky
generic
gnu
hppa
htl
hurd
i386 i386: Regenerate ulps 2022-04-27 21:20:43 -04:00
ia64
ieee754
m68k
mach
microblaze
mips
nios2
nptl nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-15 09:52:54 -03:00
posix
powerpc
pthread nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) 2022-04-15 09:52:54 -03:00
riscv
s390 S390: Add new s390 platform z16. 2022-04-14 14:21:57 +02:00
sh
sparc
unix Add HWCAP2_AFP, HWCAP2_RPRES from Linux 5.17 to AArch64 bits/hwcap.h 2022-05-03 11:08:52 +02:00
wordsize-32
wordsize-64
x86 x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) 2022-05-16 18:52:19 -07:00
x86_64 x86: Optimize strcspn and strpbrk in strcspn-c.c 2022-05-16 18:53:28 -07:00