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=-5.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 28256C3A5A3 for ; Wed, 28 Aug 2019 02:51:30 +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 E90722173E for ; Wed, 28 Aug 2019 02:51:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.b="fge0hFn3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E90722173E 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]:60438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2o3U-0006z9-KN for qemu-devel@archiver.kernel.org; Tue, 27 Aug 2019 22:51:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43707) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2o1k-0005D3-1h for qemu-devel@nongnu.org; Tue, 27 Aug 2019 22:49:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2o1g-00073e-TV for qemu-devel@nongnu.org; Tue, 27 Aug 2019 22:49:39 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:47745 helo=ozlabs.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i2o1f-0006zs-SS for qemu-devel@nongnu.org; Tue, 27 Aug 2019 22:49:36 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 46J9F43g31z9sDQ; Wed, 28 Aug 2019 12:49:28 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1566960568; bh=fTkqhxsU8PeUq+BVtY08ySvLoyu1zZEIXzelypJWMXE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fge0hFn3Wi4UeT4FX3DXslc0g7aLUFrUzReCGLyL+zyZCtF2bUHEvUSaoYZ+ffZtA QT7fj/y4wRnqPpKh3XvTlAYTHLiqake5HPyBPI/HAt0y7JtwCSh0NH6uPZP/vEz97o KoZBPT/yx+/VJ7jZJfHcKSEPWaIwUIWEd6r8sIBM= Date: Wed, 28 Aug 2019 10:42:55 +1000 From: David Gibson To: Richard Henderson Message-ID: <20190828004255.GA16825@umbus.fritz.box> References: <1566898663-25858-1-git-send-email-stefan.brankovic@rt-rk.com> <1566898663-25858-4-git-send-email-stefan.brankovic@rt-rk.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 203.11.71.1 Subject: Re: [Qemu-devel] [PATCH v6 3/3] target/ppc: Refactor emulation of vmrgew and vmrgow instructions 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: Stefan Brankovic , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 27, 2019 at 12:19:27PM -0700, Richard Henderson wrote: > On 8/27/19 2:37 AM, Stefan Brankovic wrote: > > Since I found this two instructions implemented with tcg, I refactored > > them so they are consistent with other similar implementations that > > I introduced in this patch. > >=20 > > Also, a new dual macro GEN_VXFORM_TRANS_DUAL is added. This macro is > > used if one instruction is realized with direct translation, and second > > one with a helper. > >=20 > > Signed-off-by: Stefan Brankovic > > --- > > target/ppc/translate/vmx-impl.inc.c | 66 +++++++++++++++++++++--------= -------- > > 1 file changed, 37 insertions(+), 29 deletions(-) >=20 > Reviewed-by: Richard Henderson Applied to ppc-for-4.2, thanks. >=20 >=20 > r~ >=20 --=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 --/04w6evG8XlLl3ft Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEdfRlhq5hpmzETofcbDjKyiDZs5IFAl1lzgwACgkQbDjKyiDZ s5LA1RAAtdGDFta1s21T49UYQWAunXEBas+NC64cDI+fSZzU0s6cXBqABM2lI/E5 iINhBHxb82NIBqXtA3+a5rs4jqxA0s162+6r+qMiWQYdhFoBZ/hEjdhemt/TdhYO r+hFUk1MhjLkHxvfmwDrcbB0IbevTCh1X8VKh9+TnPsWrbje34FwP7MDDGJfRZZa SLu7DGqQWihpLESLCGDQwLoyGIEm13oXluWTXU8gVtui84MQhtUMJL3+EoWUn2yp L6SuHdx0ymWdP3hgLxjZiUzZAzhpBh4CriYzXEE5zyZ8Qg5c9aMF6PSTxKwsgJB5 s9Yl3BrLcbiCb6Bs9Lgsbtm1QyndlCZW/J/kVE+4rSBgOORLQwnvBF+ZUie1EJUi K7UdAKZDdbyq0MKq9hXpv5A5odJnnuXsjliah8TzZR5HlihHb5rk1GZ0vEnZW+rf s2tU9C84d615+8H1QqSg1vNPE1QE99eOUsOAmIffGyorjJ0DCxCDNoatcaX/fUze pKGzuStj5BkJYSpkVnh2eV73VEar7OgLoXgKoCCIoFr9aqyJNB7Fly6NDvRfc7EC p1iqQCsMjJTaUj72lj4+cw4cipMVL+Ei+7MmK6lzMIaqS3keeBinvLP1lHzCJtlj Wsx73yQYD0Kqe6JrmUAs+sVCHCguE48rnP03Zdq8o3Q+hC7kv2s= =C7+6 -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--