Re: [PATCH 20/20] target/arm: Convert ERET, ERETAA, ERETAB to decodetree

2023-05-13 Thread Richard Henderson
On 5/12/23 15:41, Peter Maydell wrote: +static bool trans_ERETA(DisasContext *s, arg_reta *a) +{ +TCGv_i64 dst; + +if (!dc_isar_feature(aa64_pauth, s)) { +return false; +} +/* The FGT trap takes precedence over an auth trap. */ +if (s->fgt_eret) { +gen_exceptio

[PATCH 20/20] target/arm: Convert ERET, ERETAA, ERETAB to decodetree

2023-05-12 Thread Peter Maydell
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, exa