diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-06-19 20:24:37 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-06-29 10:04:56 -0700 |
commit | 1dd09c47f69be6e9dbdf18248730b2e20d72d1ef (patch) | |
tree | 94eeb0c9467783ed3701c883692a87482d0f34ad /target/cris/translate_v10.c.inc | |
parent | a67f11b1d9fe29a2e2f66b74d032fbe832b9131e (diff) | |
download | qemu-1dd09c47f69be6e9dbdf18248730b2e20d72d1ef.zip qemu-1dd09c47f69be6e9dbdf18248730b2e20d72d1ef.tar.gz qemu-1dd09c47f69be6e9dbdf18248730b2e20d72d1ef.tar.bz2 |
target/cris: Mark exceptions as DISAS_NORETURN
After we've raised the exception, we have left the TB.
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/cris/translate_v10.c.inc')
-rw-r--r-- | target/cris/translate_v10.c.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/cris/translate_v10.c.inc b/target/cris/translate_v10.c.inc index dd44a7e..0ba2aca 100644 --- a/target/cris/translate_v10.c.inc +++ b/target/cris/translate_v10.c.inc @@ -61,6 +61,7 @@ static inline void cris_illegal_insn(DisasContext *dc) { qemu_log_mask(LOG_GUEST_ERROR, "illegal insn at pc=%x\n", dc->pc); t_gen_raise_exception(EXCP_BREAK); + dc->base.is_jmp = DISAS_NORETURN; } static void gen_store_v10_conditional(DisasContext *dc, TCGv addr, TCGv val, @@ -1169,7 +1170,7 @@ static unsigned int dec10_ind(CPUCRISState *env, DisasContext *dc) t_gen_mov_env_TN(trap_vector, c); tcg_temp_free(c); t_gen_raise_exception(EXCP_BREAK); - dc->base.is_jmp = DISAS_UPDATE; + dc->base.is_jmp = DISAS_NORETURN; return insn_len; } LOG_DIS("%d: jump.%d %d r%d r%d\n", __LINE__, size, |