bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inline assembler question


From: Ian Lance Taylor
Subject: Re: inline assembler question
Date: 18 May 2005 10:34:49 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

gumbold <address@hidden> writes:

> please tell me what it means:
> #define MBARRIER() __asm__ __volatile__ ("lock; addl $0,0(%%esp)" :::
> "memory")
> #define UNLOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory")

This is where the asm statement is documented:
    http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Extended-Asm.html

If you have a more specific question, ask it.

Ian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]