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]

No Subject


CC; Christian Iseli <chris@lslsun.epfl.ch>
Subject: Re: Loop unrolling and asm
In-Reply-To: <199803100938.KAA18441@lslsun17.epfl.ch>
Bcc: haible


> how do you go about including an asm with labels
> in a loop that will be unrolled?

You use  %=  inside the label names, e.g. "label%=x01".

The source says:
  %= outputs a number which is unique to each insn in the entire
  compilation.  This is useful for making local labels that are
  referred to more than once in a given insn.

Beware, old cc on i386-nextstep doesn't support this syntax (it's a
too old version of gcc).

Bruno


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