On 8/3/20 4:18 AM, Peter Maydell wrote: > As a prelude to making coproc insns use decodetree, split out the > part of disas_coproc_insn() which does instruction decoding from the > part which does the actual work, and make do_coproc_insn() handle the > UNDEF-on-bad-permissions and similar cases itself rather than > returning 1 to eventually percolate up to a callsite that calls > unallocated_encoding() for it. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target/arm/translate.c | 76 ++++++++++++++++++++++++------------------ > 1 file changed, 44 insertions(+), 32 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~