This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop unrolling
- To: meissner at cygnus dot com (Michael Meissner)
- Subject: Re: Loop unrolling
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Tue, 2 Jun 1998 11:11:17 +0100 (BST)
- Cc: steve at icarus dot icarus dot com, pfeifer at dbai dot tuwien dot ac dot at, egcs at cygnus dot com
> I really don't see what's wrong with something like:
>
> for (i = 0; i < n; i++)
> __asm__ ("");
>
> for doing empty loops.
Since the loop index is not used in the asm, this loop may be unrolled.