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: Deprecating GCC extensions...


On 05-Mar-2001, Andi Kleen <ak@suse.de> wrote:
> Compare:
> 
> asm("movl x,y\n\t"
>     "movl y,z\n\t"
>     "cmpl bla,blub\n\t")
> 
> 
> to 
> 
> asm("movl x,y
>      movl y,z
>      cmpl bla,blub"); 

Another alternative is

	asm("movl x,y		\n\
             movl y,z		\n\
             cmpl bla,blub");

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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