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:
Aleksandar Markovic 2019-08-08 19:45:12 -04:00 committed by Lioncash
parent fbbd582fb9
commit 812f3e4fed
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7

View File

@ -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: