CountTrailingZeroesNonzero16 and CountLeadingZeroes16 when they are available. GCC 14 and Clang 19 adds these new builtins. The g-suffix is for "generic". The s-suffix on __builtin_ctzs and __builtin_clzs is for "short". GCC never implemented the short versions and #1664 reports GCC 14 (pre-release) gives an error here, although this may be a pre-release bug. Fixes #1664 PiperOrigin-RevId: 630408249 Change-Id: I4aedcc82b85430f50d025f8eb1cab089c6fcd1bc
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| internal | Loading commit data... | |
| BUILD.bazel | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| bits.h | Loading commit data... | |
| bits_benchmark.cc | Loading commit data... | |
| bits_test.cc | Loading commit data... | |
| int128.cc | Loading commit data... | |
| int128.h | Loading commit data... | |
| int128_benchmark.cc | Loading commit data... | |
| int128_have_intrinsic.inc | Loading commit data... | |
| int128_no_intrinsic.inc | Loading commit data... | |
| int128_stream_test.cc | Loading commit data... | |
| int128_test.cc | Loading commit data... |