target/arm: Convert ERET, ERETAA, ERETAB to decodetree
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 May 2023 14:41:06 +0000 (15:41 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 May 2023 10:35:38 +0000 (11:35 +0100)
commit442c9d682c94fc2e18014e6037735dcef7419a43
tree0f3056e5f5ca2ba0431c7315d8bf0db24e3e0550
parentc990fde618c4ed2155c566fde0727bc3b6b7d119
target/arm: Convert ERET, ERETAA, ERETAB to decodetree

Convert the exception-return insns ERET, ERETA and ERETB to
decodetree. These were the last insns left in the legacy
decoder function disas_uncond_reg_b(), which allows us to
remove it.

The old decoder explicitly decoded the DRPS instruction,
only in order to call unallocated_encoding() on it, exactly
as would have happened if it hadn't decoded it. This is
because this insn always UNDEFs unless the CPU is in
halting-debug state, which we don't emulate. So we list
the pattern in a comment in a64.decode, but don't actively
decode it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230512144106.3608981-21-peter.maydell@linaro.org
target/arm/tcg/a64.decode
target/arm/tcg/translate-a64.c