From nobody Tue Feb 10 15:45:18 2026 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) 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=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1558500893; cv=none; d=zoho.com; s=zohoarc; b=dwFMkcQRGj+ZMOBf4Q4nWYuCHmlmeXyDJL0wFre8Wv7ajHOhhp0/q3Lbg0Oz/+MuRwpbLR2NqIAc7QcR5aostntDhNu1RwcbIrwFrKblTLSVtaDUo8i5zrnWbeKslGj4Bdgo7fwFrMFwB0Vo7YY9cDgP8Ou26jJVJPVeEpIRg54= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558500893; h=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=lmpkJ4iIMARLfsuZbdaLnEpQhotlVeRBqFfGarMcAEc=; b=ldCBLF5y4NFJqO8XwwVJQ0zQ4IPgKL+ZhvOJvJ2UnouTT5GCz9GKFvh/Swf+2LWoGLxUqBRBS4BELJ9hAVEzPdix5M+Dt6V+QtwEyx/CQtmOU0jDYAIFA1nkkHAJzQ50zAhytFtTCAh1VPb7tyS4tSSftouxDci0rhkLZZHXc04= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1558500893619194.41349973514912; Tue, 21 May 2019 21:54:53 -0700 (PDT) Received: from localhost ([127.0.0.1]:35802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTJGw-0001LO-F8 for importer@patchew.org; Wed, 22 May 2019 00:54:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTJ8s-0003MI-FK for qemu-devel@nongnu.org; Wed, 22 May 2019 00:46:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTJ8r-0006dZ-7r for qemu-devel@nongnu.org; Wed, 22 May 2019 00:46:18 -0400 Received: from ozlabs.org ([203.11.71.1]:44921) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hTJ8q-0006ay-TE; Wed, 22 May 2019 00:46:17 -0400 Received: by ozlabs.org (Postfix, from userid 1007) id 4580St1QPVz9sP0; Wed, 22 May 2019 14:46:05 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1558500366; bh=6umsziP45kqLQbkhjysqubHMINrd6dPk0OGV7I94jHo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K0rBQnZ8GaBq7Vg7gDXvUu0UlfGSJK8dpIFZvPQQrKT2ssPmVwo4A4tCRFXEkSQYQ UDR37S1nwNEiNjZEO+1Lo3McYczq5F2od2TYPMf9lDcX3zEzn4BGxuYMxYRDLkTaU9 4J3DSb47cdf5LWJTV0gSef7KMPfMzbVKfoJjdqCg= From: David Gibson To: peter.maydell@linaro.org Date: Wed, 22 May 2019 14:45:31 +1000 Message-Id: <20190522044600.16534-10-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190522044600.16534-1-david@gibson.dropbear.id.au> References: <20190522044600.16534-1-david@gibson.dropbear.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 203.11.71.1 Subject: [Qemu-devel] [PULL 09/38] target/ppc: Fix xxbrq, xxbrw 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: lvivier@redhat.com, qemu-devel@nongnu.org, groug@kaod.org, qemu-ppc@nongnu.org, clg@kaod.org, Anton Blanchard , 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" From: Anton Blanchard Fix a typo in xxbrq and xxbrw where we put both results into the lower doubleword. Fixes: 8b3b2d75c7c0 ("introduce get_cpu_vsr{l,h}() and set_cpu_vsr{l,h}() h= elpers for VSR register access") Signed-off-by: Anton Blanchard Message-Id: <20190507004811.29968-3-anton@ozlabs.org> Signed-off-by: David Gibson --- target/ppc/translate/vsx-impl.inc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/ppc/translate/vsx-impl.inc.c b/target/ppc/translate/vsx= -impl.inc.c index 4d8ca7cf32..d29f60e2f9 100644 --- a/target/ppc/translate/vsx-impl.inc.c +++ b/target/ppc/translate/vsx-impl.inc.c @@ -1192,7 +1192,7 @@ static void gen_xxbrq(DisasContext *ctx) tcg_gen_bswap64_i64(xtl, xbh); set_cpu_vsrl(xT(ctx->opcode), xtl); tcg_gen_mov_i64(xth, t0); - set_cpu_vsrl(xT(ctx->opcode), xth); + set_cpu_vsrh(xT(ctx->opcode), xth); =20 tcg_temp_free_i64(t0); tcg_temp_free_i64(xth); @@ -1220,7 +1220,7 @@ static void gen_xxbrw(DisasContext *ctx) get_cpu_vsrl(xbl, xB(ctx->opcode)); =20 gen_bswap32x4(xth, xtl, xbh, xbl); - set_cpu_vsrl(xT(ctx->opcode), xth); + set_cpu_vsrh(xT(ctx->opcode), xth); set_cpu_vsrl(xT(ctx->opcode), xtl); =20 tcg_temp_free_i64(xth); --=20 2.21.0