[Bug rtl-optimization/19719] missed optimization on boolean operation with boolean arguments

yuri at tsoft dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 31 06:17:00 GMT 2005


------- Additional Comments From yuri at tsoft dot com  2005-01-31 06:16 -------
Ooops, sorry, should be 2 instructions instead of 7 (3.5X inefficiency)
----should be----
       pushl   %ebp
        movl    %esp, %ebp
>        movl    8(%ebp), %eax
>        andl    12(%ebp), %eax
        .p2align 2,,3
.L2:
        leave
        ret

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19719



More information about the Gcc-bugs mailing list