mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-08 10:10:33 +00:00
target/mips: Add missing 'break' for certain cases of MFTR handling
This was found by GCC 8.3 static analysis. Fixes: ead9360e2fb Backports commit f1fadbb27af04115c9d24e0902d88a38d0266854 from qemu
This commit is contained in:
parent
b2aa75be33
commit
720aff63da
|
@ -9886,6 +9886,7 @@ static void gen_mftr(CPUMIPSState *env, DisasContext *ctx, int rt, int rd,
|
||||||
gen_mfc0(ctx, t0, rt, sel);
|
gen_mfc0(ctx, t0, rt, sel);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
switch (sel) {
|
switch (sel) {
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -9895,6 +9896,7 @@ static void gen_mftr(CPUMIPSState *env, DisasContext *ctx, int rt, int rd,
|
||||||
gen_mfc0(ctx, t0, rt, sel);
|
gen_mfc0(ctx, t0, rt, sel);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
switch (sel) {
|
switch (sel) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Reference in a new issue