Skip to content

Commit

Permalink
target/sparc: Remove egress label in disas_sparc_context
Browse files Browse the repository at this point in the history
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Mar 5, 2023
1 parent 36ab462 commit a6ca81c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions target/sparc/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -5727,32 +5727,31 @@ static void disas_sparc_insn(DisasContext * dc, unsigned int insn)
dc->npc = dc->npc + 4;
}
jmp_insn:
goto egress;
return;
illegal_insn:
gen_exception(dc, TT_ILL_INSN);
goto egress;
return;
unimp_flush:
gen_exception(dc, TT_UNIMP_FLUSH);
goto egress;
return;
#if !defined(CONFIG_USER_ONLY)
priv_insn:
gen_exception(dc, TT_PRIV_INSN);
goto egress;
return;
#endif
nfpu_insn:
gen_op_fpexception_im(dc, FSR_FTT_UNIMPFPOP);
goto egress;
return;
#if !defined(CONFIG_USER_ONLY) && !defined(TARGET_SPARC64)
nfq_insn:
gen_op_fpexception_im(dc, FSR_FTT_SEQ_ERROR);
goto egress;
return;
#endif
#ifndef TARGET_SPARC64
ncp_insn:
gen_exception(dc, TT_NCP_INSN);
goto egress;
return;
#endif
egress:
}

static void sparc_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs)
Expand Down

0 comments on commit a6ca81c

Please sign in to comment.