diff options
author | Richard Henderson | 2019-08-15 10:46:45 +0200 |
---|---|---|
committer | Peter Maydell | 2019-08-16 15:02:50 +0200 |
commit | 3cb36637157088892e9e33ddb1034bffd1251d3b (patch) | |
tree | 09d244e59bc0a9cfb94a97590852f484151eda15 /target/arm/translate.h | |
parent | target/arm: Remove offset argument to gen_exception_bkpt_insn (diff) | |
download | qemu-3cb36637157088892e9e33ddb1034bffd1251d3b.tar.gz qemu-3cb36637157088892e9e33ddb1034bffd1251d3b.tar.xz qemu-3cb36637157088892e9e33ddb1034bffd1251d3b.zip |
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>
Diffstat (limited to 'target/arm/translate.h')
-rw-r--r-- | target/arm/translate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/translate.h b/target/arm/translate.h index 64304c957e..92ef790be9 100644 --- a/target/arm/translate.h +++ b/target/arm/translate.h @@ -99,6 +99,8 @@ typedef struct DisasCompare { bool value_global; } DisasCompare; +void unallocated_encoding(DisasContext *s); + /* Share the TCG temporaries common between 32 and 64 bit modes. */ extern TCGv_i32 cpu_NF, cpu_ZF, cpu_CF, cpu_VF; extern TCGv_i64 cpu_exclusive_addr; |