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: Puzzled by a recent patch


On Wed, 6 Sep 2000, Richard Henderson wrote:
> 
> Looks like you want
> 
> -		  need_mode = smallest_mode_for_size ((word+1) * UNITS_PER_WORD,
> -						      GET_MODE_CLASS (mode));
> + if (word == 0)
> +   need_mode = mode;
> + else
> +   need_mode = smallest_mode_for_size (GET_MODE_SIZE (mode)
> +				        + word*UNITS_PER_WORD,
> +					GET_MODE_CLASS (mode));

That does look more correct, and it fixes my problem.  Can I install this?

Bernd



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