[Bug target/25111] [m68k] bset is not used for A = 1 << (B & 31) on ColdFire
fdarkangel at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Apr 8 01:54:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25111
fdarkangel at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fdarkangel at gmail dot com
--- Comment #2 from fdarkangel at gmail dot com 2012-04-08 01:54:24 UTC ---
Exists in gcc-4.7.0 as well:
foo:
move.l %d2,-(%sp)
moveq #31,%d2
jsr bar
and.l 8(%sp),%d2
moveq #1,%d1
lsl.l %d2,%d1
move.l (%sp)+,%d2
or.l %d1,%d0
rts
More information about the Gcc-bugs
mailing list