Re: [Qemu-devel] [PATCH v3 08/11] target-arm: introduce tbflag for CPSR.E

2014-06-26 Thread Peter Maydell
On 21 June 2014 13:58, Paolo Bonzini wrote: > Together with the existing tb flag for SCTLR.B, this governs the > endianness of data accesses. Note that TARGET_WORDS_BIGENDIAN is > not used, the two flags are enough because linux-user/main.c > initializes SCTRL.B and CPSR.E correctly. > > Similar

[Qemu-devel] [PATCH v3 08/11] target-arm: introduce tbflag for CPSR.E

2014-06-21 Thread Paolo Bonzini
Together with the existing tb flag for SCTLR.B, this governs the endianness of data accesses. Note that TARGET_WORDS_BIGENDIAN is not used, the two flags are enough because linux-user/main.c initializes SCTRL.B and CPSR.E correctly. Similar to bswap_code, the new predicate arm_tbflag_is_data_be o