glibc/sysdeps/powerpc/math-use-builtins-ffs.h
Adhemerval Zanella Netto ae4b8d6a0e string: Use builtins for ffs and ffsll
It allows to remove a lot of arch-specific implementations.

Checked on x86_64, aarch64, powerpc64.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2024-02-01 09:31:33 -03:00

7 lines
121 B
C

#define USE_FFS_BUILTIN 1
#ifdef __powerpc64__
# define USE_FFSLL_BUILTIN 1
#else
# define USE_FFSLL_BUILTIN 0
#endif