[Bug target/87913] max(n, 1) code generation

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 7 15:28:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87913

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
A fix for the MIN/MAX recognition generates

f:
.LFB0:
        .cfi_startproc
        testl   %edi, %edi
        movl    $1, %eax
        cmovne  %edi, %eax
        ret

it doesn't change g().


More information about the Gcc-bugs mailing list