An ia32 LOCK/XADD bug.
Ulrich Drepper
drepper@redhat.com
Thu May 17 00:54:00 GMT 2001
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.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Binutils
mailing list