diff options
author | Junxian Zhu <zhujunxian@oss.cipunited.com> | 2024-02-06 16:34:56 +0800 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-02-14 12:20:49 -0300 |
commit | 545480506fc6576ea37a14e56c654935c691709d (patch) | |
tree | 35a29428ec2c82aef6ed6a0f3af2ebd9a40726be /sysdeps/mips/ldbl-classify-compat.h | |
parent | 491e55beab7457ed310a4a47496f4a333c5d1032 (diff) | |
download | glibc-545480506fc6576ea37a14e56c654935c691709d.tar.gz glibc-545480506fc6576ea37a14e56c654935c691709d.tar.xz glibc-545480506fc6576ea37a14e56c654935c691709d.zip |
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>
Diffstat (limited to 'sysdeps/mips/ldbl-classify-compat.h')
0 files changed, 0 insertions, 0 deletions