target/arm: Use unallocated_encoding for aarch32
commit3cb36637157088892e9e33ddb1034bffd1251d3b
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 15 Aug 2019 08:46:45 +0000 (15 09:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Aug 2019 13:02:50 +0000 (16 14:02 +0100)
tree09d244e59bc0a9cfb94a97590852f484151eda15
parent06bcbda3f64d464b6ecac789bce4bd69f199cd68
target/arm: Use unallocated_encoding for aarch32

Promote this function from aarch64 to fully general use.
Use it to unify the code sequences for generating illegal
opcode exceptions.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190807045335.1361-11-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c
target/arm/translate-a64.h
target/arm/translate-vfp.inc.c
target/arm/translate.c
target/arm/translate.h