From d5ebcbaf09e8c14e62b2966446195be5eeabcbab Mon Sep 17 00:00:00 2001 From: Stefan Markovic Date: Tue, 16 Oct 2018 16:41:19 +0200 Subject: target/mips: Fix misplaced 'break' in handling of NM_SHRA_R_PH Fix misplaced 'break' in handling of NM_SHRA_R_PH. Found by Coverity (CID 1395627). Reviewed-by: Aleksandar Markovic Signed-off-by: Stefan Markovic Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target') diff --git a/target/mips/translate.c b/target/mips/translate.c index 2890219f0b..12f2aecf7e 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -19970,8 +19970,8 @@ static void gen_pool32a5_nanomips_insn(DisasContext *ctx, int opc, case 0: /* SHRA_PH */ gen_helper_shra_ph(v1_t, t0, v1_t); - break; gen_store_gpr(v1_t, rt); + break; case 1: /* SHRA_R_PH */ gen_helper_shra_r_ph(v1_t, t0, v1_t); -- cgit v1.2.3