This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]