https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65474
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |i?86-*-* x86_64-*-* Component|middle-end |target --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Conditional move might be slower on some processors. Yes this would be an optimization for -Os but it depends on the timings for the specific processor. Have you done a micro benchmark to find out which implementation is better on different processors?