This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: "memory" clobber in synchronization primitives


Roland McGrath <roland@frob.com> writes:

> In the linuxthreads pt-machine.h file, the alpha, powerpc, and mips
> definitions of `testandset' use a "memory" clobber in addition to their
> output specs in their GCC `asm', but the i386 definition does not.

I agree that it makes sense to add the clobber and I did so.  If
somebody disagrees let me know.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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