From nobody Tue Feb 10 01:32:48 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; dkim=fail; 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=1556260848; cv=none; d=zoho.com; s=zohoarc; b=PXX4wyI8mApJZR+t9Q2MjqL1vaVg4c8CmoIFjzDpKaFYO7rbeenlakM0Nvp1tSzuQAPg9VTQ0WZT7nZ/wJiaKqKzeaEGODX9H9dkYIp8afrhXz9jSaKKFWvFLNwNfFeCHpLYs4mvhX0+SxGSATLCj1a/Zm8OEbwZu0A3Cl+3uMI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556260848; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=hI8Os0CRtyjU1g6IBBjoVW/B2lH4GMuc7jqwsr28RgQ=; b=lEbYWCOt1kSoeFb310MlOJ9V5p9CCUkCHdbB2hPA1QZkdeExo6N5d1vXb5/j2OlWhbwzZhm6Q3CkWOhdetWlbE0f3Ci0Ogcvxbf0IDPqm2pnRgPruuHRssjTmL/q2CmgIYtOLK2DN93nyEH/4cZGH1TYbaQxOXGDMPGDwdttuXQ= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; 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 1556260848738950.8913689323845; Thu, 25 Apr 2019 23:40:48 -0700 (PDT) Received: from localhost ([127.0.0.1]:40444 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJuXJ-0004Ym-IY for importer@patchew.org; Fri, 26 Apr 2019 02:40:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJu1J-0006QO-8w for qemu-devel@nongnu.org; Fri, 26 Apr 2019 02:07:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJu1I-0005bx-87 for qemu-devel@nongnu.org; Fri, 26 Apr 2019 02:07:37 -0400 Received: from bilbo.ozlabs.org ([2401:3900:2:1::2]:60563 helo=ozlabs.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hJu1H-00050u-Ii; Fri, 26 Apr 2019 02:07:36 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 44r3Tq3TK9z9sNq; Fri, 26 Apr 2019 16:06:37 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1556258799; bh=G3nunOIA/V2+aFWTwHvGJIidNGFYxp04mZ7Q+2kZLJQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fw9yEwTHaLiN5Z7yFNiYKo7EvmWU4onkIVBxcR/iBHeUKDo7vKwUna2vg5BK9ezX6 nWciczeXlpqaZLocHDI+PST5kXdlJOXjtqrnqTmSJoE21c7AYUiAeaxLd5mAbHQ9JZ fn5rOH2wikiCF4GLOMO7sABVhjTrUNOZ5uXgJwRw= From: David Gibson To: peter.maydell@linaro.org Date: Fri, 26 Apr 2019 16:06:16 +1000 Message-Id: <20190426060627.18153-26-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190426060627.18153-1-david@gibson.dropbear.id.au> References: <20190426060627.18153-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2401:3900:2:1::2 Subject: [Qemu-devel] [PULL 25/36] target/ppc: Style fixes for translate/vsx-impl.inc.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gkurz@kaod.org, Greg Kurz , qemu-devel@nongnu.org, qemu-ppc@nongnu.org, clg@kaod.org, David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Signed-off-by: David Gibson Reviewed-by: C=C3=A9dric Le Goater Reviewed-by: Greg Kurz --- target/ppc/translate/vsx-impl.inc.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/target/ppc/translate/vsx-impl.inc.c b/target/ppc/translate/vsx= -impl.inc.c index 489b2436e4..11d9b75d01 100644 --- a/target/ppc/translate/vsx-impl.inc.c +++ b/target/ppc/translate/vsx-impl.inc.c @@ -751,7 +751,7 @@ static void gen_xxpermdi(DisasContext *ctx) #define SGN_MASK_SP 0x8000000080000000ull =20 #define VSX_SCALAR_MOVE(name, op, sgn_mask) \ -static void glue(gen_, name)(DisasContext * ctx) \ +static void glue(gen_, name)(DisasContext *ctx) \ { \ TCGv_i64 xb, sgm; \ if (unlikely(!ctx->vsx_enabled)) { \ @@ -848,7 +848,7 @@ VSX_SCALAR_MOVE_QP(xsnegqp, OP_NEG, SGN_MASK_DP) VSX_SCALAR_MOVE_QP(xscpsgnqp, OP_CPSGN, SGN_MASK_DP) =20 #define VSX_VECTOR_MOVE(name, op, sgn_mask) \ -static void glue(gen_, name)(DisasContext * ctx) \ +static void glue(gen_, name)(DisasContext *ctx) \ { \ TCGv_i64 xbh, xbl, sgm; \ if (unlikely(!ctx->vsx_enabled)) { \ @@ -910,7 +910,7 @@ VSX_VECTOR_MOVE(xvnegsp, OP_NEG, SGN_MASK_SP) VSX_VECTOR_MOVE(xvcpsgnsp, OP_CPSGN, SGN_MASK_SP) =20 #define GEN_VSX_HELPER_2(name, op1, op2, inval, type) = \ -static void gen_##name(DisasContext * ctx) = \ +static void gen_##name(DisasContext *ctx) = \ { = \ TCGv_i32 opc; = \ if (unlikely(!ctx->vsx_enabled)) { = \ @@ -923,7 +923,7 @@ static void gen_##name(DisasContext * ctx) = \ } =20 #define GEN_VSX_HELPER_XT_XB_ENV(name, op1, op2, inval, type) \ -static void gen_##name(DisasContext * ctx) \ +static void gen_##name(DisasContext *ctx) \ { \ TCGv_i64 t0; \ TCGv_i64 t1; \ @@ -1230,7 +1230,7 @@ static void gen_xxbrw(DisasContext *ctx) } =20 #define VSX_LOGICAL(name, vece, tcg_op) \ -static void glue(gen_, name)(DisasContext * ctx) \ +static void glue(gen_, name)(DisasContext *ctx) \ { \ if (unlikely(!ctx->vsx_enabled)) { \ gen_exception(ctx, POWERPC_EXCP_VSXU); \ @@ -1251,7 +1251,7 @@ VSX_LOGICAL(xxlnand, MO_64, tcg_gen_gvec_nand) VSX_LOGICAL(xxlorc, MO_64, tcg_gen_gvec_orc) =20 #define VSX_XXMRG(name, high) \ -static void glue(gen_, name)(DisasContext * ctx) \ +static void glue(gen_, name)(DisasContext *ctx) \ { \ TCGv_i64 a0, a1, b0, b1, tmp; \ if (unlikely(!ctx->vsx_enabled)) { \ @@ -1444,7 +1444,8 @@ static void gen_##name(DisasContext *ctx) = \ xb =3D tcg_const_tl(xB(ctx->opcode)); \ t0 =3D tcg_temp_new_i32(); \ t1 =3D tcg_temp_new_i64(); \ - /* uimm > 15 out of bound and for \ + /* \ + * uimm > 15 out of bound and for \ * uimm > 12 handle as per hardware in helper \ */ \ if (uimm > 15) { \ --=20 2.20.1