aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2017-08-15 07:57:13 -0700
committerPeter Maydell <peter.maydell@linaro.org>2017-08-15 17:38:44 +0100
commit19514cde3b92938df750acaecf2caaa85e1d36a6 (patch)
treeca26a263a22297b65fdc066d756348394e0283e2 /linux-user
parent955fd0ad5d610f62ba2f4ce46a872bf50434dcf8 (diff)
downloadqemu-19514cde3b92938df750acaecf2caaa85e1d36a6.zip
qemu-19514cde3b92938df750acaecf2caaa85e1d36a6.tar.gz
qemu-19514cde3b92938df750acaecf2caaa85e1d36a6.tar.bz2
target/arm: Correct load exclusive pair atomicity
We are not providing the required single-copy atomic semantics for the 64-bit operation that is the 32-bit paired load. At the same time, leave the entire 64-bit value in cpu_exclusive_val and stop writing to cpu_exclusive_high. This means that we do not have to re-assemble the 64-bit quantity when it comes time to store. At the same time, drop a redundant temporary and perform all loads directly into the cpu_exclusive_* globals. Tested-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20170815145714.17635-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions