This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r115578 - in /trunk/gcc: ChangeLog config/sh/sh...
- From: sayle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 19 Jul 2006 05:13:57 -0000
- Subject: r115578 - in /trunk/gcc: ChangeLog config/sh/sh...
Author: sayle
Date: Wed Jul 19 05:13:56 2006
New Revision: 115578
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115578
Log:
PR middle-end/28283
* expmed.c (expand_shift): Additionally check that the shift_cost
is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
before implementing a LSHIFT_EXPR as a sequence of additions.
* config/sh/sh.c (shift_costs): Return MAX_COST to inform the
middle-end that DImode shifts need to be synthesized by expand.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/sh.c
trunk/gcc/expmed.c