https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113543
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |target --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >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.