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 Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
generic string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
gnu Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
hppa Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
htl Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
hurd Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
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 Make __getrandom_nocancel set errno and add a _nostatus version 2024-01-12 14:23:11 +01:00
microblaze Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
mips mips: Use builtins for ffs and ffsll 2024-02-14 12:20:49 -03:00
nios2 Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
nptl Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
or1k Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
posix Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
powerpc Rename c2x / gnu2x tests to c23 / gnu23 2024-02-01 17:55:57 +00:00
pthread Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
riscv Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
s390 string: Use builtins for ffs and ffsll 2024-02-01 09:31:33 -03:00
sh Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
sparc Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
unix Add SOL_VSOCK from Linux 6.7 to bits/socket.h 2024-02-08 12:57:24 +00:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
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