This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: An ia32 LOCK/XADD bug.


On Thu, May 17, 2001 at 12:54:11AM -0700, Ulrich Drepper wrote:
> amodra@one.net.au writes:
> 
> > > 1. How to write a correct exchange_and_add? Is exchange_and_add_1 ok?
> > 
> > I think you'll need to use "=&r" and "=&m" as output constraints.
> 
> No, why?  Without the & the instruction is explained exactly right.

You're correct.  Muddy thinking on my part.


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