]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target/arm: Define and use XPSR bit masks
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Sep 2017 14:21:52 +0000 (15:21 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Sep 2017 14:21:52 +0000 (15:21 +0100)
commit987ab45e108953c1c98126c338c2119c243c372b
treef5bda33eda87e77e7fb8d35b0b7bd03929c2bcca
parent9d17da4b68a05fc78daa47f0f3d914eea5d802ea
target/arm: Define and use XPSR bit masks

The M profile XPSR is almost the same format as the A profile CPSR,
but not quite. Define some XPSR_* macros and use them where we
definitely dealing with an XPSR rather than reusing the CPSR ones.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1501692241-23310-9-git-send-email-peter.maydell@linaro.org
target/arm/cpu.h
target/arm/helper.c