mirror of https://gitee.com/openkylin/qemu.git
target/mips: Add two missing breaks for NM_LLWPE and NM_SCWPE decoder cases
Coverity found two fallthroughs that miss break statement. Fix them. Revieved-by: Stefan Markovic <smarkovic@wavecomp.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
This commit is contained in:
parent
285278ca78
commit
2431a422d3
|
@ -21321,6 +21321,7 @@ static int decode_nanomips_32_48_opc(CPUMIPSState *env, DisasContext *ctx)
|
|||
check_eva(ctx);
|
||||
check_cp0_enabled(ctx);
|
||||
gen_llwp(ctx, rs, 0, rt, extract32(ctx->opcode, 3, 5));
|
||||
break;
|
||||
default:
|
||||
generate_exception_end(ctx, EXCP_RI);
|
||||
break;
|
||||
|
@ -21339,6 +21340,7 @@ static int decode_nanomips_32_48_opc(CPUMIPSState *env, DisasContext *ctx)
|
|||
check_eva(ctx);
|
||||
check_cp0_enabled(ctx);
|
||||
gen_scwp(ctx, rs, 0, rt, extract32(ctx->opcode, 3, 5));
|
||||
break;
|
||||
default:
|
||||
generate_exception_end(ctx, EXCP_RI);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue