]> git.ipfire.org Git - thirdparty/bind9.git/commit
Rewrite the bit rotate functions using __builtin or generic
authorOndřej Surý <ondrej@isc.org>
Tue, 26 Aug 2025 05:31:07 +0000 (07:31 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 27 Aug 2025 09:53:05 +0000 (11:53 +0200)
commite01151f729e8ee172bdcfa80f471a1f783a5c8a3
treedb815d80d8ea8dc8dd538c8116b39eaf5c22745d
parent7e12c7de0b283c9adb90535fbe862a027ed2f810
Rewrite the bit rotate functions using __builtin or generic

In gcc 15, __builtin_stdc_rotate_{left,right} was added.  Use these
builtins when available otherwise rewrite the ISC_ROTATE_LEFT and
ISC_ROTATE_RIGHT using _Generic.
lib/isc/include/isc/bit.h
lib/isc/include/isc/fxhash.h
lib/isc/include/isc/siphash.h
meson.build