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=1556259844; cv=none; d=zoho.com; s=zohoarc; b=I/CcImtoyoxh0Z6u1HC8+YEPBaCF85Y1PG6ewb8R2KQTx/fdxWYan8H+a0MQR317yhxfqgIUZqwFsRsAivB+VyGeOFPj38ZbCpHZYHVN/uyF0ujSR1NG5fzNu3DsACuN6fe61aVKhB7oKmSdKC4yzFv6Dc1QeXr1YEiuPJDo3U0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556259844; 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=VO4vJnFdrHqs19oOSqICsCoWNp01kaB1L11oaXJz4EA=; b=Yx2yqiDKC18ca/X4oomk88MG3LH+W2QxW38FWNtdRCjl1PJCYZ1+Ply2M6lUMEr/tJNjrrUoIOQDbxSb9gBCRBwNl1s/ol8TwXH9k4/ICeNuOvFAROf0NpJiGsx5NuukyI665rOvNKyCnkuVv+pGx/CBWWMnsQmiY+dQ8pRpKAE= 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 1556259844485379.6581410505971; Thu, 25 Apr 2019 23:24:04 -0700 (PDT) Received: from localhost ([127.0.0.1]:40144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJuHB-00061o-Aq for importer@patchew.org; Fri, 26 Apr 2019 02:24:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJu10-00063D-2D for qemu-devel@nongnu.org; Fri, 26 Apr 2019 02:07:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJu0y-00056m-7P for qemu-devel@nongnu.org; Fri, 26 Apr 2019 02:07:18 -0400 Received: from bilbo.ozlabs.org ([2401:3900:2:1::2]:60491 helo=ozlabs.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hJu0w-0004Vk-4d; Fri, 26 Apr 2019 02:07:16 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 44r3Tp5vfKz9sNs; Fri, 26 Apr 2019 16:06:38 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1556258798; bh=7nqWASjgaSD9sIm7A3aZFRTFfvHArAZgUMaAEXJMIjY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hFPWVisHQCsMkMa85EgVCsiTNPOX87Y4U/E3bzom46bN+Qxb4+u8BAzun3L7uoWaV GqjJY2U6smVnsRniu75u5jj1CwDC3+h/39Z91GkjLwhxNx8dvH+GjGAz1Bo1azS2jw /I0AVNyQKRFWqSqWNKRwQCbf6pmAsy4mVFebTkdI= From: David Gibson To: peter.maydell@linaro.org Date: Fri, 26 Apr 2019 16:06:18 +1000 Message-Id: <20190426060627.18153-28-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 27/36] target/ppc: Style fixes for translate/spe-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/spe-impl.inc.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/target/ppc/translate/spe-impl.inc.c b/target/ppc/translate/spe= -impl.inc.c index 8c1c16c63e..7ab0a29b5f 100644 --- a/target/ppc/translate/spe-impl.inc.c +++ b/target/ppc/translate/spe-impl.inc.c @@ -18,7 +18,8 @@ static inline void gen_evmra(DisasContext *ctx) TCGv_i64 tmp =3D tcg_temp_new_i64(); =20 /* tmp :=3D rA_lo + rA_hi << 32 */ - tcg_gen_concat_tl_i64(tmp, cpu_gpr[rA(ctx->opcode)], cpu_gprh[rA(ctx->= opcode)]); + tcg_gen_concat_tl_i64(tmp, cpu_gpr[rA(ctx->opcode)], + cpu_gprh[rA(ctx->opcode)]); =20 /* spe_acc :=3D tmp */ tcg_gen_st_i64(tmp, cpu_env, offsetof(CPUPPCState, spe_acc)); @@ -780,7 +781,7 @@ static inline void gen_op_evstwwo(DisasContext *ctx, TC= Gv addr) } =20 #define GEN_SPEOP_LDST(name, opc2, sh) = \ -static void glue(gen_, name)(DisasContext *ctx) = \ +static void glue(gen_, name)(DisasContext *ctx) = \ { = \ TCGv t0; = \ if (unlikely(!ctx->spe_enabled)) { = \ @@ -1089,7 +1090,8 @@ static inline void gen_efsabs(DisasContext *ctx) gen_exception(ctx, POWERPC_EXCP_SPEU); return; } - tcg_gen_andi_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], (t= arget_long)~0x80000000LL); + tcg_gen_andi_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], + (target_long)~0x80000000LL); } static inline void gen_efsnabs(DisasContext *ctx) { @@ -1097,7 +1099,8 @@ static inline void gen_efsnabs(DisasContext *ctx) gen_exception(ctx, POWERPC_EXCP_SPEU); return; } - tcg_gen_ori_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], 0x8= 0000000); + tcg_gen_ori_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], + 0x80000000); } static inline void gen_efsneg(DisasContext *ctx) { @@ -1105,7 +1108,8 @@ static inline void gen_efsneg(DisasContext *ctx) gen_exception(ctx, POWERPC_EXCP_SPEU); return; } - tcg_gen_xori_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], 0x= 80000000); + tcg_gen_xori_tl(cpu_gpr[rD(ctx->opcode)], cpu_gpr[rA(ctx->opcode)], + 0x80000000); } =20 /* Conversion */ --=20 2.20.1