https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92651
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Btw, which variant is actually the fastest for you? abs expansion doesn't do any cost comparison but just uses direct abs, max and then the xor with shift as third option (and after that fall back to compare & jump which later might be if-converted into cmov).