This is the mail archive of the gcc@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]

Re: i386 RTX_COST tweeks take 2


On Tue, Nov 06, 2001 at 05:56:12PM +0100, Jan Hubicka wrote:
> 	* expmed.c (expand_mult): Force operand to register before computing
> 	cost.
> 	* i386.c (x86_decompose_lea): New global vairable.
> 	* i386.h (x86_decompose_lea): Declare.
> 	(TARGET_DECOMPOSE_LEA): New macro.
> 	(RTX_COST): Handle leas properly.

Ok but, 

> +       /* op0 must be register to make mult_cost match the precomputed shiftadd_cost
> +          array.  */

Wrap this properly.



r~


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