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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
For the original testcase with GCC 7, we get the same(similar enough) code gen
for both functions now.
foo:
.LFB0:
        .cfi_startproc
        testq   %rdi, %rdi
        setne   %al
        testq   %rsi, %rsi
        sete    %dl
        xorl    %edx, %eax
        movzbl  %al, %eax
        ret
bar:
.LFB1:
        .cfi_startproc
        testq   %rdi, %rdi
        sete    %al
        testq   %rsi, %rsi
        setne   %dl
        xorl    %edx, %eax
        movzbl  %al, %eax
        ret

Reply via email to