aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-02-24 21:29:17 -1000
committerRichard Henderson <richard.henderson@linaro.org>2023-03-05 13:44:08 -0800
commita6ca81cb2a6215e5a7ae2db2a3b8dc21c01ac23c (patch)
tree1978b0aba19ded13225958407648245f1989dede /target
parent36ab4623a894de80c413fa958a5fdb79dc50b1c2 (diff)
downloadqemu-a6ca81cb2a6215e5a7ae2db2a3b8dc21c01ac23c.zip
qemu-a6ca81cb2a6215e5a7ae2db2a3b8dc21c01ac23c.tar.gz
qemu-a6ca81cb2a6215e5a7ae2db2a3b8dc21c01ac23c.tar.bz2
target/sparc: Remove egress label in disas_sparc_context
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>
Diffstat (limited to 'target')
-rw-r--r--target/sparc/translate.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/target/sparc/translate.c b/target/sparc/translate.c
index a204262..560fb32 100644
--- a/target/sparc/translate.c
+++ b/target/sparc/translate.c
@@ -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)