]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/translate.h
target-arm: introduce disas flag for endianness
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Mar 2016 11:30:20 +0000 (11:30 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 4 Mar 2016 11:30:20 +0000 (11:30 +0000)
commitdacf0a2ff7d39ab12bd90f2f5496a3889facd54a
treeff37020225b860825099eacafb98aa99aa054bc0
parent12dcc3217dc86b7dccee293b2f6e3fa4f7b014ae
target-arm: introduce disas flag for endianness

Introduce a disas flag for setting the CPU data endianness. This allows
control of the endianness from the CPU state rather than hard-coding it
to TARGET_WORDS_BIGENDIAN.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[ PC changes:
  * Split off as new patch from original:
        "target-arm: introduce tbflag for CPSR.E"
  * Wrote commit message from scratch
]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate-a64.c
target-arm/translate.c
target-arm/translate.h