add `memory' clobber; optimise for constant `val'.
authordrepper <drepper>
Sun, 13 Jun 1999 15:37:19 +0000 (15:37 +0000)
committerdrepper <drepper>
Sun, 13 Jun 1999 15:37:19 +0000 (15:37 +0000)
commit819d4c24341376edbc38f67ec01d4dbbb508b340
tree7e5c52c488cef0a4ae84b9ee62eb123b5d31c77f
parentfa10e2f26d3465a5bb4513b228101f1212f0f2f2
add `memory' clobber; optimise for constant `val'.
(atomic_add): Likewise.
(test_and_set): Remove `volatile'; add `memory' clobber; be more
like the original `test_and_set'.
(compare_and_swap): Remove `volatile'; add `memory' clobber;
optimise for constant `oldval'.
(always_swap): Remove `volatile'; add `memory' clobber.
sysdeps/powerpc/atomicity.h