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 and asm


	Now the question: how do you go about including an asm with labels
	in a loop that will be unrolled?

Try using %= to get a unique number.

Or try using labels that don't have to be unique.  GNU as supports local
symbol names which do not have to be unique.   You define them using a number
from 0 to 9 and then you refer to them using 0b or 0f to indicate whether you
want the first 0 label searching backwards, or the first 0 label searching
forwards.

Jim




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