From nobody Mon Feb 9 19:54:00 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1562931595; cv=none; d=zoho.com; s=zohoarc; b=Bk0cTizcj9HLouDKe5T+CADIyKtO7KlXaZyJWv7n8UHoTtz44QRyr0DB5Qf0JsVsqYENWzhYGlOyEjHzxk7SwaTg7GjURsxyuomT9UgzhPS26TVxTIQ3p/jPZK4i9gIL1E+TPnGekSPULXDO5n+QtRycPxqbviRqKCW4vjc/EqQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562931595; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=RBMz525hI0D1nVs+lY8oq3/4/4EVebo2Xp3cUIVm1bM=; b=Vg73Z00UWk5zq1sQxH6NR6Ncjf3pe5dSmW+w3clS1hAgHyzZpquU4gAjl32JX38nOyA4PXdxOZXcAWmAi1dU/4llQqyqL7tLxXjUFqUlfV/W0PDMaskbcuHiUa950ceZjNuc2qHeDnMnY8xPqVtMsZN2UUCZNnKVYZSVp9Na7DU= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1562931595090395.28055969706054; Fri, 12 Jul 2019 04:39:55 -0700 (PDT) Received: from localhost ([::1]:48474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hltu5-0001EH-Qi for importer@patchew.org; Fri, 12 Jul 2019 07:39:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53592) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlttH-0006GP-IK for qemu-devel@nongnu.org; Fri, 12 Jul 2019 07:39:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlttG-00059R-8l for qemu-devel@nongnu.org; Fri, 12 Jul 2019 07:39:03 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:57844 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hlttF-0003ZY-TS for qemu-devel@nongnu.org; Fri, 12 Jul 2019 07:39:02 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 068731A1FEB; Fri, 12 Jul 2019 13:37:56 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id C871B1A1FBF; Fri, 12 Jul 2019 13:37:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Fri, 12 Jul 2019 13:37:47 +0200 Message-Id: <1562931470-3700-3-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1562931470-3700-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1562931470-3700-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH for 4.1 1/4] target/mips: Add 'fall through' comments for handling nanoMips' SHXS, SWXS X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, sw@weilnetz.de, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic This was found by GCC 8.3 static analysis. Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/mips/translate.c b/target/mips/translate.c index f96f141..2be5e2d 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -20136,12 +20136,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(t0, t0, 1); break; case NM_SWXS: check_nms(ctx); + /* fall through */ case NM_LWXS: case NM_LWC1XS: case NM_SWC1XS: --=20 2.7.4