aboutsummaryrefslogtreecommitdiff
path: root/cpus-common.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-06-26 09:19:12 -0700
committerDavid Gibson <david@gibson.dropbear.id.au>2018-07-03 09:56:52 +1000
commit4a9b3c5dd30cfd548d447521d4ef1fdba6f0fcf2 (patch)
tree27a61359435eb949c9aa4b0e155b421028b53c29 /cpus-common.c
parentf89ced5f556a06986d362dd41a99dfc4dc960fc1 (diff)
downloadqemu-4a9b3c5dd30cfd548d447521d4ef1fdba6f0fcf2.zip
qemu-4a9b3c5dd30cfd548d447521d4ef1fdba6f0fcf2.tar.gz
qemu-4a9b3c5dd30cfd548d447521d4ef1fdba6f0fcf2.tar.bz2
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 'cpus-common.c')
0 files changed, 0 insertions, 0 deletions