[PATCH] for optimization/10080: Loop unroller nearly useless

Geert Bosch bosch@gnat.com
Wed Mar 19 15:14:00 GMT 2003


On Wednesday, Mar 19, 2003, at 00:07 America/New_York, Richard 
Henderson wrote:

> Err, so are you or are you not handling loops like
>
> 	unsigned int i;
> 	for (i = 0; i != 1; i += 5)
> 	  ...
>
> which iterates UINT_MAX*4+1 times?  Please tell me you are...

This repeats UINT_MAX * 4 / 5 + 1 times...



More information about the Gcc-patches mailing list