]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-arm: UNDEF in the UNPREDICTABLE SRS-from-System case
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Feb 2016 14:16:17 +0000 (14:16 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Feb 2016 14:16:17 +0000 (14:16 +0000)
commitf01377f591fe15c652f947646c4a69a7d4a71ad9
tree00866610e287ea041bac52bc4e1138fba17b44fd
parentd86d57d4fe683c99823f625f941eff26c07c72c3
target-arm: UNDEF in the UNPREDICTABLE SRS-from-System case

Make get_r13_banked() raise an exception at runtime for the
corner case of SRS from System mode, so that we can UNDEF it;
this brings us in to line with the ARM ARM's set of permitted
CONSTRAINED UNPREDICTABLE choices.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target-arm/op_helper.c
target-arm/translate.c