[Bug target/58017] [SH] Use shift and test for unsigned compare
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 6 13:19:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58017
--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #0)
>
> especially if the compared reg is dead after the comparison.
... and the constant is not shared with any other insn
and the comparison is not in a (tight) loop.
if such comparisons are found in loops, the constant load should be hoisted.
More information about the Gcc-bugs
mailing list