[PATCH] D132407: [ADT] Add llvm::ctpop to <bit> helper wrapper
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 22 14:27:33 PDT 2022
kazu added a comment.
> Looks like at least here clang uses the same code in either case (but doesn't use a CPU intrinsic, whereas GCC does (but GCC doesn't optimize the non-intrinsic code into the intrinsic...)): https://godbolt.org/z/G5YM4bcM6 ?
I get `popcnt` with `-march=native`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132407/new/
https://reviews.llvm.org/D132407
More information about the llvm-commits
mailing list