[PATCH] D59567: [X86] Add __popcntd and __popcntq to ia32intrin.h to match gcc and icc. Remove popcnt feature flag from _popcnt32/_popcnt64 and move to ia32intrin.h to match gcc

Simon Pilgrim via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 20 02:04:24 PDT 2019


RKSimon added a comment.

IIRC we don't use libcalls for popcnt - we just expand



================
Comment at: clang/lib/Headers/ia32intrin.h:35
+///
+/// This intrinsic corresponds to the <c> POPCNT </c> instruction.
+///
----------------
Change this as we don't require POPCNT any more?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59567/new/

https://reviews.llvm.org/D59567





More information about the cfe-commits mailing list