On Mon, 4 Oct 1999, Rodolphe Ortalo wrote:
> Jos Hulzink wrote:
> > The original loop GCC creates was about 9 instructions long, increasing
> > addresses made a mess of the code, so I had to decrease them. The only way
> > that produced neat code was treating the Z-buffer like an array of kgiu32
> > values.
>
> Do you mean that the loop was unrolled or that it was bad ?
>
No, the 256 k times loop was not unrolled, just horrifying bad code :)
Switching registers over again, loading constants inside a loop, etc.
Jos