glibc/sysdeps
Junxian Zhu 545480506f mips: Use builtins for ffs and ffsll
__builtin_ffs{,ll} basically on __builtin_ctz{,ll} in MIPS GCC compiler.
The hardware ctz instructions were available after MIPS{32,64} Release1. By using builtin ctz. It can also reduce code size of ffs/ffsll.

Checked on mips o32. mips64.

Signed-off-by: Junxian Zhu <zhujunxian@oss.cipunited.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
2024-02-14 12:20:49 -03:00
..
aarch64 string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
alpha string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
arc string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
arm arm: Remove wrong ldr from _dl_start_user (BZ 31339) 2024-02-05 15:29:23 -03:00
csky
generic string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
gnu
hppa
htl
hurd
i386 string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
ieee754 Rename c2x / gnu2x tests to c23 / gnu23 2024-02-01 17:55:57 +00:00
loongarch LoongArch: Use builtins for ffs and ffsll 2024-02-05 15:19:41 -03:00
m68k string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
mach
microblaze
mips mips: Use builtins for ffs and ffsll 2024-02-14 12:20:49 -03:00
nios2
nptl
or1k
posix
powerpc Rename c2x / gnu2x tests to c23 / gnu23 2024-02-01 17:55:57 +00:00
pthread
riscv
s390 string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
sh
sparc
unix Add SOL_VSOCK from Linux 6.7 to bits/socket.h 2024-02-08 12:57:24 +00:00
wordsize-32
wordsize-64
x86 x86: Do not prefer ERMS for memset on Zen3+ 2024-02-13 08:49:13 -08:00
x86_64 x86: Expand the comment on when REP STOSB is used on memset 2024-02-13 08:49:43 -08:00