diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-06-26 09:19:12 -0700 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-07-03 09:56:52 +1000 |
commit | 4a9b3c5dd30cfd548d447521d4ef1fdba6f0fcf2 (patch) | |
tree | 27a61359435eb949c9aa4b0e155b421028b53c29 /target/ppc/cpu.h | |
parent | f89ced5f556a06986d362dd41a99dfc4dc960fc1 (diff) |
target/ppc: Use atomic cmpxchg for STQCX
When running in a parallel context, we must use a helper in order
to perform the 128-bit atomic operation. When running in a serial
context, do the compare before the store.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/cpu.h')
0 files changed, 0 insertions, 0 deletions