aboutsummaryrefslogtreecommitdiff
path: root/target/arm/translate.h
diff options
context:
space:
mode:
authorCatherine Ho <catherine.hecx@gmail.com>2019-02-15 09:56:38 +0000
committerPeter Maydell <peter.maydell@linaro.org>2019-02-15 09:56:38 +0000
commitabd5abc58c5d4c9bd23427b0998a44eb87ed47a2 (patch)
tree14a16fca8b16c56dc1dd30c59e9ebf4cd4e4124c /target/arm/translate.h
parent831a2fca343ebcd6651eab9102bd7a36b77da65d (diff)
downloadqemu-abd5abc58c5d4c9bd23427b0998a44eb87ed47a2.zip
qemu-abd5abc58c5d4c9bd23427b0998a44eb87ed47a2.tar.gz
qemu-abd5abc58c5d4c9bd23427b0998a44eb87ed47a2.tar.bz2
target/arm: Fix int128_make128 lo, hi order in paired_cmpxchg64_be
The lo,hi order is different from the comments. And in commit 1ec182c33379 ("target/arm: Convert to HAVE_CMPXCHG128"), it changes the original code logic. So just restore the old code logic before this commit: do_paired_cmpxchg64_be(): cmpv = int128_make128(env->exclusive_high, env->exclusive_val); newv = int128_make128(new_hi, new_lo); This fixes a bug that would only be visible for big-endian AArch64 guest code. Fixes: 1ec182c33379 ("target/arm: Convert to HAVE_CMPXCHG128") Signed-off-by: Catherine Ho <catherine.hecx@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 1548985244-24523-1-git-send-email-catherine.hecx@gmail.com [PMM: added note that bug only affects BE guests] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/translate.h')
0 files changed, 0 insertions, 0 deletions