popcntb computes per-byte population counts for a 64-bit integer. It's been supported in hardware since P5.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/llvm/IR/IntrinsicsPowerPC.td | ||
---|---|---|
60–62 | Rather than this I think you want to conditionalize on CTPOP as an ISD and fix the lowering that way? |
Comment Actions
FYI
I also have a patch to add popcntb here: https://reviews.llvm.org/D37342
I'm going to be committing it today.
Rather than this I think you want to conditionalize on CTPOP as an ISD and fix the lowering that way?