commit | ed2839166c21e001d15868f4d9591a21aaebd547 | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Fri Sep 02 12:52:28 2016 -0700 |
committer | Richard Henderson <rth@twiddle.net> | Wed Oct 26 08:29:02 2016 -0700 |
tree | e63b55476274f12975030d67772d4a4db99c6f5e | |
parent | 6a73ecf5cfcd39b7afb5d6a24174730eac49d4b5 [diff] |
target-alpha: Emulate LL/SC using cmpxchg helpers Emulating LL/SC with cmpxchg is not correct, since it can suffer from the ABA problem. However, portable parallel code is written assuming only cmpxchg which means that in practice this is a viable alternative. Signed-off-by: Richard Henderson <rth@twiddle.net>