diff options
author | Aleksandar Markovic | 2018-10-29 12:09:26 +0100 |
---|---|---|
committer | Aleksandar Markovic | 2018-10-29 14:13:30 +0100 |
commit | 2431a422d325c1832d77dd64fa3135ec303b00de (patch) | |
tree | 3c8a68e5fe16dab040e5457a014caa33241a8180 /target/mips/translate.c | |
parent | Merge remote-tracking branch 'remotes/famz/tags/testing-pull-request' into st... (diff) | |
download | qemu-2431a422d325c1832d77dd64fa3135ec303b00de.tar.gz qemu-2431a422d325c1832d77dd64fa3135ec303b00de.tar.xz qemu-2431a422d325c1832d77dd64fa3135ec303b00de.zip |
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>
Diffstat (limited to 'target/mips/translate.c')
-rw-r--r-- | target/mips/translate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/mips/translate.c b/target/mips/translate.c index 51a5488da4..3bdefc07f3 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -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; |