https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822
--- Comment #3 from Jeremy R. ---
Interestingly it's optimized correctly on -Os
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822
--- Comment #1 from Jeremy R. ---
Never mind, 101821 was invalid and the initial xor eax eax is by design (still
wondering whether this applies to new CPUs though). There is still a
discrepancy between this code and the __builtin_popcount code t