https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114319
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2024-03-12 Target|x86 |ILP32 Blocks| |94094 Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. I see the trunk even without -mno-sse does not produce the 2 bswaps. Looks like the store-merging pass is not recognizing bswap<<32 for some reason. Also I thought there was a dup somewhere ... Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94094 [Bug 94094] [meta-bug] store-merging and/or bswap load/store-merging missed optimizations