aboutsummaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorDerek Mauro <dmauro@google.com>2024-05-03 09:14:22 -0700
committerCopybara-Service <copybara-worker@google.com>2024-05-03 09:15:27 -0700
commitc1e1b47d989978cde8c5a2a219df425b785a0c47 (patch)
tree7e346e387f88420cff4da113e1a1d9ac23223ed3 /CMake
parent7e149e40c7a2d8049ecd28d1f83f64cc197cc128 (diff)
downloadabseil-c1e1b47d989978cde8c5a2a219df425b785a0c47.tar.gz
abseil-c1e1b47d989978cde8c5a2a219df425b785a0c47.tar.bz2
abseil-c1e1b47d989978cde8c5a2a219df425b785a0c47.zip
Use __builtin_ctzg and __builtin_clzg in the implementations of
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
Diffstat (limited to 'CMake')
0 files changed, 0 insertions, 0 deletions