This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12508] weak optimization for some constants < 2^16
- From: "kazu at cs dot umass dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2003 21:55:57 -0000
- Subject: [Bug optimization/12508] weak optimization for some constants < 2^16
- References: <20031004182021.12508.gpiez@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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