From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4429BC433B4 for ; Tue, 18 May 2021 01:49:12 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF430613AA for ; Tue, 18 May 2021 01:49:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF430613AA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:35096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lior8-0001PU-Ti for qemu-devel@archiver.kernel.org; Mon, 17 May 2021 21:49:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lioeP-00073d-Tf; Mon, 17 May 2021 21:36:02 -0400 Received: from ozlabs.org ([203.11.71.1]:54159) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lioeM-0007Ay-Eh; Mon, 17 May 2021 21:36:01 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 4Fkdqh0fbdz9sxS; Tue, 18 May 2021 11:35:43 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1621301744; bh=1yKxowR20oRy0a5l69ij1qM29iud+COwhdLu5s67iHg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ctHFBEHk1NXgAdYgGC3Fc1f6veNJppjPUynfXTMGnmgEOsot0VW1JdOqKe/Ga5zyx tWykv/TB6vYhaZ9nSHfQNAjVxGTYMYmb8lQzy3M8+sR3RUhTRcYq0plUufiqtfJYxM L1kRRbZPlGzgbIdD0IwgTfg8ivAzgc7aJ+I/kWwo= Date: Tue, 18 May 2021 10:47:43 +1000 From: David Gibson To: matheus.ferst@eldorado.org.br Subject: Re: [PATCH v5 18/23] target/ppc: Implement prefixed integer store instructions Message-ID: References: <20210517205025.3777947-1-matheus.ferst@eldorado.org.br> <20210517205025.3777947-19-matheus.ferst@eldorado.org.br> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+ue93vukyFoOcbJ4" Content-Disposition: inline In-Reply-To: <20210517205025.3777947-19-matheus.ferst@eldorado.org.br> Received-SPF: pass client-ip=203.11.71.1; envelope-from=dgibson@ozlabs.org; helo=ozlabs.org X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, luis.pires@eldorado.org.br, qemu-ppc@nongnu.org, lagarcia@br.ibm.com, bruno.larsen@eldorado.org.br Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --+ue93vukyFoOcbJ4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 17, 2021 at 05:50:20PM -0300, matheus.ferst@eldorado.org.br wro= te: > From: Richard Henderson >=20 > Signed-off-by: Richard Henderson > Signed-off-by: Matheus Ferst Applied to ppc-for-6.1, thanks. > --- > target/ppc/insn64.decode | 12 ++++++++++++ > target/ppc/translate/fixedpoint-impl.c.inc | 4 ++++ > 2 files changed, 16 insertions(+) >=20 > diff --git a/target/ppc/insn64.decode b/target/ppc/insn64.decode > index 547bd1736f..72c5944a53 100644 > --- a/target/ppc/insn64.decode > +++ b/target/ppc/insn64.decode > @@ -39,6 +39,18 @@ PLWA 000001 00 0--.-- .................. \ > PLD 000001 00 0--.-- .................. \ > 111001 ..... ..... ................ @PLS_D > =20 > +### Fixed-Point Store Instructions > + > +PSTW 000001 10 0--.-- .................. \ > + 100100 ..... ..... ................ @PLS_D > +PSTB 000001 10 0--.-- .................. \ > + 100110 ..... ..... ................ @PLS_D > +PSTH 000001 10 0--.-- .................. \ > + 101100 ..... ..... ................ @PLS_D > + > +PSTD 000001 00 0--.-- .................. \ > + 111101 ..... ..... ................ @PLS_D > + > ### Fixed-Point Arithmetic Instructions > =20 > PADDI 000001 10 0--.-- .................. \ > diff --git a/target/ppc/translate/fixedpoint-impl.c.inc b/target/ppc/tran= slate/fixedpoint-impl.c.inc > index adeee33289..2d2d874146 100644 > --- a/target/ppc/translate/fixedpoint-impl.c.inc > +++ b/target/ppc/translate/fixedpoint-impl.c.inc > @@ -142,24 +142,28 @@ TRANS(STB, do_ldst_D, false, true, MO_UB) > TRANS(STBX, do_ldst_X, false, true, MO_UB) > TRANS(STBU, do_ldst_D, true, true, MO_UB) > TRANS(STBUX, do_ldst_X, true, true, MO_UB) > +TRANS(PSTB, do_ldst_PLS_D, false, true, MO_UB) > =20 > /* Store Halfword */ > TRANS(STH, do_ldst_D, false, true, MO_UW) > TRANS(STHX, do_ldst_X, false, true, MO_UW) > TRANS(STHU, do_ldst_D, true, true, MO_UW) > TRANS(STHUX, do_ldst_X, true, true, MO_UW) > +TRANS(PSTH, do_ldst_PLS_D, false, true, MO_UW) > =20 > /* Store Word */ > TRANS(STW, do_ldst_D, false, true, MO_UL) > TRANS(STWX, do_ldst_X, false, true, MO_UL) > TRANS(STWU, do_ldst_D, true, true, MO_UL) > TRANS(STWUX, do_ldst_X, true, true, MO_UL) > +TRANS(PSTW, do_ldst_PLS_D, false, true, MO_UL) > =20 > /* Store Doubleword */ > TRANS64(STD, do_ldst_D, false, true, MO_Q) > TRANS64(STDX, do_ldst_X, false, true, MO_Q) > TRANS64(STDU, do_ldst_D, true, true, MO_Q) > TRANS64(STDUX, do_ldst_X, true, true, MO_Q) > +TRANS64(PSTD, do_ldst_PLS_D, false, true, MO_Q) > =20 > /* > * Fixed-Point Arithmetic Instructions --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --+ue93vukyFoOcbJ4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdfRlhq5hpmzETofcbDjKyiDZs5IFAmCjDq8ACgkQbDjKyiDZ s5Lbcw//aEf9I0THelrkTUeV35DmJZjKSsHzjJw1ex5S3l7RIt7Ga6B98maIzlWj W0Ld2g1OtgP9HQJjnMC6jG3DCCYNe7qefT+OdmlZkejji34sb1rotf9eUJpvuQYl NA156eEGoxeCKPaMZSquU7b+cLkT9y87R8EoVOHowq+q0J3V/vSzTfW4lD9ZOJHe sGM9igfqVnvSLxxvap7Y9VvN8IUzOEmk7HHVQBB9ktPL1F53cdip+VYypGJjXuNz yeWOxlcaix+HdAFfcGzQ9Wta1OAvpGiXf6UOyalNMdKBrAAmT+hTXfAnU67/1zhl Gl3ODMWSx3jNU7PawWuhe6vc5L3nd5PDucFuUtJrL4hdrsIJvKvHAMhJq43bbdqv B6ACSF69mD5QgfDrjPV3RevaV8Y+k39T0fasSopa0EFuwzCPias4VInsXuzl5wDU T44CILnaZkOs/i0yPwWKOAqFAYBNVVnsiqnqKZvpJW406icYZLJJ3yn3DpZK9dEV +Ptv2TR9oIge5bMhxwmtcxnuSAXvUPiZegv827ZAEpbp+IuogOuwOgaW4eJBRmy+ xilw37VxELPSXfxULCOD9/XMKh+3HrvCbm1VIpPDDH5HJBvnVbzgC09LmwtqXKf3 1oIL2ELDAkQ9L7Rnb47WMXyy3ELcd1mb4bqrRciunjXr6aywk+Q= =0rUY -----END PGP SIGNATURE----- --+ue93vukyFoOcbJ4--