linux-user: arm: handle CPSR.E correctly in strex emulation
commit3eaca188a44765561e345d164af3f23ac0ac9f1f
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 21 Jun 2014 12:58:16 +0000 (21 14:58 +0200)
committerStefan Weil <sw@weilnetz.de>
Fri, 31 Oct 2014 20:24:50 +0000 (31 21:24 +0100)
tree31e8a3840934e5bc26b8074adffc031946de26cf
parent9e1e85e31ddaf69acf2d6cc7494e26dc087c4695
linux-user: arm: handle CPSR.E correctly in strex emulation

Now that CPSR.E is set correctly, prepare for when setend will be able
to change it; bswap data in and out of strex manually by comparing
SCTLR.B, CPSR.E and TARGET_WORDS_BIGENDIAN (we do not have the luxury
of using TCGMemOps).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/main.c
target-arm/cpu.h