Commit 50bf1b6fe4fe406568884bce97ddcff935571a0a

Bruno Haible 2020-08-05T19:57:21

Use __builtin_ctz{,l,ll} and __builtin_ffs{,l,ll} with clang everywhere. * lib/count-trailing-zeros.h (COUNT_TRAILING_ZEROS): Use the GCC built-in also on clang. * lib/ffs.c: With clang, use the GCC built-in, not <intrin.h>. * lib/ffsl.h: Likewise. Assume GCC_BUILTIN is defined.