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 target/54089] [SH] Refactor shift patterns


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

--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-07-27 17:36:30 UTC ---
Author: olegendo
Date: Fri Jul 27 17:36:20 2012
New Revision: 189917

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189917
Log:
    PR target/54089
    * config/sh/sh.c (shiftcosts): Remove case where first operand 
    is a const_int.  Move COSTS_N_INSNS usage into caller ...
    (sh_rtx_costs) ... here.  Return false when shiftcosts cannot be
    calculated instead of MAX_COST.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.c


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