https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98713
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64 Keywords| |missed-optimization --- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is basically a bug in PHI-OPT which assumes ABS_EXPR will always generate better code than the conditional case. Hmm, Why is x86_64 using a cmov here for ABS_EXPR instead of: Shift xor sub ?