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

Re: ivopts cost oddities


Bernd Schmidt <bernds_cb1@t-online.de> writes:

> --- tree-ssa-loop-ivopts.c	(revision 118853)
> +++ tree-ssa-loop-ivopts.c	(working copy)
> @@ -3321,32 +3321,32 @@ multiply_by_cost (HOST_WIDE_INT cst, enu
>  /* Returns true if multiplying by RATIO is allowed in address.  */
>  
>  bool
> -multiplier_allowed_in_address_p (HOST_WIDE_INT ratio)
> +multiplier_allowed_in_address_p (HOST_WIDE_INT ratio, enum machine_mode mode)

I think this needs a comment about the meaning of MODE.  Is it the
mode of the memory to which the address points?  Or is it the mode of
the address computation?

Same in at least one other place.

Thanks.

Ian


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