target/ppc: Implement the rest of gen_st_atomic
commit7fbc2b20d2e0ca1898bfc2bd871fb674ec1039fb
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 26 Jun 2018 16:19:21 +0000 (26 09:19 -0700)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 2 Jul 2018 23:56:52 +0000 (3 09:56 +1000)
treeaaf111fd0c30309a4cfa2769d973ea0202214df1
parent20923c1d02b68dfd848f014a77747c0e4817682a
target/ppc: Implement the rest of gen_st_atomic

The store twin case was stubbed out.  For now, implement it only within
a serial context, forcing parallel execution to synchronize.  It would
be possible to implement with a cmpxchg loop, if we care, but the loose
alignment requirements (simply no crossing 32-byte boundary) might send
us back to the serial context anyway.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c