This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Deprecating GCC extensions...
- To: Andi Kleen <ak at suse dot de>
- Subject: Re: Deprecating GCC extensions...
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Tue, 6 Mar 2001 02:49:15 +1100
- Cc: gcc at gcc dot gnu dot org
- References: <20010228232827.A12658@daikokuya.demon.co.uk> <20010301145100.A22921@hg.cs.mu.oz.au> <oupn1b0tek8.fsf@pigdrop.muc.suse.de>
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.