target/arm: Implement AArch32 ERET instruction
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 10:24:32 +0000 (11:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Aug 2018 10:24:32 +0000 (11:24 +0100)
commit55c544ed2709bd202e71e77ddfe3ea0327852211
treea8bf1b793be3127a81e761fa43845d631e20bb5a
parentaec4dd09f172ee64c19222b78269d5952fd9c1dc
target/arm: Implement AArch32 ERET instruction

ARMv7VE introduced the ERET instruction, which is necessary to
return from an exception taken to Hyp mode. Implement this.
In A32 encoding it is a completely new encoding; in T32 it
is an adjustment of the behaviour of the existing
"SUBS PC, LR, #<imm8>" instruction.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20180814124254.5229-10-peter.maydell@linaro.org
target/arm/translate.c