mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 04:51:05 +00:00
target/mips: Add 'fall through' comments for handling nanoMips' SHXS, SWXS
This was found by GCC 8.3 static analysis. Missed in commit fb32f8c8560. Backports commit 45152d050213a1221a5a900283976454bf6308bf from qemu
This commit is contained in:
parent
fbbd582fb9
commit
812f3e4fed
|
@ -20256,12 +20256,14 @@ static void gen_p_lsx(DisasContext *ctx, int rd, int rs, int rt)
|
|||
switch (extract32(ctx->opcode, 7, 4)) {
|
||||
case NM_SHXS:
|
||||
check_nms(ctx);
|
||||
/* fall through */
|
||||
case NM_LHXS:
|
||||
case NM_LHUXS:
|
||||
tcg_gen_shli_tl(tcg_ctx, t0, t0, 1);
|
||||
break;
|
||||
case NM_SWXS:
|
||||
check_nms(ctx);
|
||||
/* fall through */
|
||||
case NM_LWXS:
|
||||
case NM_LWC1XS:
|
||||
case NM_SWC1XS:
|
||||
|
|
Loading…
Reference in a new issue