[Bug target/113543] Poor codegen for bit-counting functions (countl_zero, countl_one, countr_zero, countr_one)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113543 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andrew Pinski --- The rest are a dup of bug 110679. *** This bug has been marked as a duplicate of bug 110679 ***
[Bug target/113543] Poor codegen for bit-counting functions (countl_zero, countl_one, countr_zero, countr_one)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113543 Andrew Pinski changed: What|Removed |Added Component|c++ |target --- Comment #1 from Andrew Pinski --- >Clang does not emit the extra xor instruction. I don't really know why. This is a performance errata in some Intel cores and GCC implements that while LLVM/clang does NOT. See PR 62011 on that.