aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-07-30 16:16:36 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-08-25 10:48:50 +0100
commite5346292966f5348cd36668f2451ca0e44d820b2 (patch)
tree8edd319248d5af1846e528cc6c98f0342a00cdf3 /hw
parentfc7a5038a6b70a3e474e58a5ed9845e4f5eed6dd (diff)
downloadqemu-e5346292966f5348cd36668f2451ca0e44d820b2.zip
qemu-e5346292966f5348cd36668f2451ca0e44d820b2.tar.gz
qemu-e5346292966f5348cd36668f2451ca0e44d820b2.tar.bz2
target/arm: Implement M-profile trapping on division by zero
Unlike A-profile, for M-profile the UDIV and SDIV insns can be configured to raise an exception on division by zero, using the CCR DIV_0_TRP bit. Implement support for setting this bit by making the helper functions raise the appropriate exception. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210730151636.17254-3-peter.maydell@linaro.org
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions