]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target/arm: Report correct syndrome for FP/SIMD traps to Hyp mode
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Oct 2018 06:50:18 +0000 (07:50 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Oct 2018 06:51:36 +0000 (07:51 +0100)
commit4be42f4013fa1a9df47b48aae5148767bed8e80c
treeb4d14ac4a44b3ffaba85837c145783743d16fff5
parent2ed08180db096ea5e44573529b85e09b1ed10b08
target/arm: Report correct syndrome for FP/SIMD traps to Hyp mode

For traps of FP/SIMD instructions to AArch32 Hyp mode, the syndrome
provided in HSR has more information than is reported to AArch64.
Specifically, there are extra fields TA and coproc which indicate
whether the trapped instruction was FP or SIMD. Add this extra
information to the syndromes we construct, and mask it out when
taking the exception to AArch64.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20181012144235.19646-11-peter.maydell@linaro.org
target/arm/helper.c
target/arm/internals.h
target/arm/translate.c