well Steve,
it depends on a loop body code.
So, if the loop body is not too big, then 32X and more is Ok (somehow).
That's the idea. 
The problem here is that the loop body should be:
        asm("; %0" "+r"(i));

I thought this is in 'tips&tricks'

~d

On Sunday 01 June 2003 07:00, Steve Underwood wrote:
> Dmitry,
>
> Is unrolling a loop by *25X* a good idea? That sounds like a real bulky
> code generator, and unrolling by more than a few doesn't gain a lot. I
> don't seem to see such extreme unrolling, but maybe I just don't hit the
> right conditions in my code.

-- 
/********************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys 
      (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
   (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
 ********************************************************************/


Reply via email to