aboutsummaryrefslogtreecommitdiff
path: root/src/common/tuklib_cpucores.h
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-04-19 21:59:03 +0800
committerJia Tan <jiat0218@gmail.com>2023-04-25 20:19:28 +0800
commit12321a9390acc076b414035a46df9d7545ac379f (patch)
tree65f90a946e8d514e4cbd0b4bb929c90bd8b9b521 /src/common/tuklib_cpucores.h
parentliblzma: Update project maintainers in lzma.h. (diff)
downloadxz-12321a9390acc076b414035a46df9d7545ac379f.tar.xz
tuklib_integer: Use __builtin_clz() with Clang.
Clang has support for __builtin_clz(), but previously Clang would fallback to either the MSVC intrinsic or the regular C code. This was discovered due to a bug where a new version of Clang required the <intrin.h> header file in order to use the MSVC intrinsics. Thanks to Anton Kochkov for notifying us about the bug.
Diffstat (limited to 'src/common/tuklib_cpucores.h')
0 files changed, 0 insertions, 0 deletions