gcc and icc both implement popcntd and popcntq which we did not. gcc doesn't seem to require a feature flag for the _popcnt32/_popcnt64 spelling and will use a libcall if its not supported.
Details
Details
- Reviewers
RKSimon spatel andreadb - Commits
- rG1383340422aa: [X86] Add __popcntd and __popcntq to ia32intrin.h to match gcc and icc. Remove…
rL356689: [X86] Add __popcntd and __popcntq to ia32intrin.h to match gcc and icc. Remove…
rC356689: [X86] Add __popcntd and __popcntq to ia32intrin.h to match gcc and icc. Remove…
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
IIRC we don't use libcalls for popcnt - we just expand
clang/lib/Headers/ia32intrin.h | ||
---|---|---|
35 ↗ | (On Diff #191411) | Change this as we don't require POPCNT any more? |
calculate