* cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory
barrier to locking asm.
From-SVN: r86328
+2004-08-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * cpu/hppa/atomicity.h (__exchange_and_add, __atomic_add): Add memory
+ barrier to locking asm.
+
2004-08-20 Paolo Carlini <pcarlini@suse.de>
* include/c_std/cmath.tcc (__cmath_power): Revert previous commit:
"nop\n\t"
"b,n .-20"
: "=&r" (tmp)
- : "r" (&lock));
+ : "r" (&lock)
+ : "memory");
result = *__mem;
*__mem = result + __val;
"nop\n\t"
"b,n .-20"
: "=&r" (tmp)
- : "r" (&lock));
+ : "r" (&lock)
+ : "memory");
*__mem += __val;
/* Reset lock with PA 2.0 "ordered" store. */