Re: Loop unrolling
- From: Ian Collins <ian-news@xxxxxxxxxxx>
- Date: Wed, 23 Apr 2008 22:37:13 +1200
Tim Frink wrote:
Hi,They will be specific to the compiler and loops don't have to be
what are typical heuristics for loop unrolling, i.e. which constraints
must be satisfied to have a compiler perform unrolling on a particular
loop?
I assume that the loop must not exceed a particular size to avoid a
code size explosion. But are there any other heuristics?
completely unrolled. For example a loop of 100 may be expanded to a
loop of 20 blocks of 5 repeats.
Some compilers provide a means for tuning loop unrolling as a
space/performance trade off.
--
Ian Collins.
.
- Follow-Ups:
- Re: Loop unrolling
- From: Walter Banks
- Re: Loop unrolling
- References:
- Loop unrolling
- From: Tim Frink
- Loop unrolling
- Prev by Date: Loop unrolling
- Next by Date: Re: Loop unrolling
- Previous by thread: Loop unrolling
- Next by thread: Re: Loop unrolling
- Index(es):
Relevant Pages
|