[Bug optimization/12508] weak optimization for some constants < 2^16

kazu at cs dot umass dot edu gcc-bugzilla@gcc.gnu.org
Wed Dec 24 22:01:00 GMT 2003


------- Additional Comments From kazu at cs dot umass dot edu  2003-12-24 21:55 -------
With current 3.4 -O2 -fomit-frame-pointer, I get

For 0x1fff0
        xorl    %eax, %eax
        testl   $131056, 4(%esp)
        setne   %al
        ret

For 0xfff0
        xorl    %eax, %eax
        testl   $65520, 4(%esp)
        setne   %al
        ret


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kazu at cs dot umass dot edu


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



More information about the Gcc-bugs mailing list