This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Loop unrolling


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]