]> Savannah Git Hosting - gnulib.git/commit
Use __builtin_clz{,l,ll} with clang, also on Windows.
authorBruno Haible <bruno@clisp.org>
Wed, 5 Aug 2020 17:25:42 +0000 (19:25 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 5 Aug 2020 17:27:46 +0000 (19:27 +0200)
commit878c98336e9d915a9150eb473d5825d6dde7880d
tree0dd5067e69940738639026baea5835f09b20c418
parent2b7f1c82ccb07b88bdccd6814f94f66f33230bb9
Use __builtin_clz{,l,ll} with clang, also on Windows.

* lib/integer_length.c: With clang, use the GCC built-in, not
<intrin.h>.
* lib/integer_length_l.c: Likewise.
* lib/count-leading-zeros.h (COUNT_LEADING_ZEROS): Use the GCC built-in
also on clang.
* lib/vasnprintf.c (divide): Likewise.
ChangeLog
lib/count-leading-zeros.h
lib/integer_length.c
lib/integer_length_l.c
lib/vasnprintf.c