From patchwork Tue Dec 3 15:58:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Musta X-Patchwork-Id: 296226 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C40682C00A1 for ; Wed, 4 Dec 2013 03:06:40 +1100 (EST) Received: from localhost ([::1]:43212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnsUg-0003ch-AG for incoming@patchwork.ozlabs.org; Tue, 03 Dec 2013 11:06:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnsNd-0003mm-5a for qemu-devel@nongnu.org; Tue, 03 Dec 2013 10:59:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnsNU-0006Tz-Cj for qemu-devel@nongnu.org; Tue, 03 Dec 2013 10:59:20 -0500 Received: from mail-qe0-x236.google.com ([2607:f8b0:400d:c02::236]:36204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnsNU-0006Tv-7v; Tue, 03 Dec 2013 10:59:12 -0500 Received: by mail-qe0-f54.google.com with SMTP id cy11so13352136qeb.13 for ; Tue, 03 Dec 2013 07:59:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QmkVINCXd5bT6j9FRUPXtRn0bQdHjesUDB36ld4xGC4=; b=VQ98oNIzacAu+eI0khPWJeKmObhWTpj+09rtzdwCDBk8DAniJbN1vSqUvxRbx7bqg9 kxQIorxwIIIUZErQ8ue3KiWNnCC8Q5O9jBU7FoX7cPF/WhlYexUNnqg6qwysLowS6JXZ uyPPXPzCRQ2qPRBjRB/fhpwlEWAYMXKZrnzZrjsGtk+o7wcfhlf9kfHbjLdjeebIA55Q A+DSVUx6K1c8+ees2EnSB8cT0p9PJDOyi0bt8UvfpWkf8YhzTMrmVig9Ghi9QHKIPYJQ ExZ4w1B7hUfaTttwmTtm7qLd5e1bRRsO1pqPhyfe7F54Nykk2LxWVK2YVVkfGFYENWkM 2MVw== X-Received: by 10.224.26.140 with SMTP id e12mr70167403qac.54.1386086351713; Tue, 03 Dec 2013 07:59:11 -0800 (PST) Received: from tmusta-sc.rchland.ibm.com (rchp4.rochester.ibm.com. [129.42.161.36]) by mx.google.com with ESMTPSA id v3sm54494921qaj.12.2013.12.03.07.59.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Dec 2013 07:59:11 -0800 (PST) From: Tom Musta To: qemu-devel@nongnu.org Date: Tue, 3 Dec 2013 09:58:25 -0600 Message-Id: <1386086305-8163-15-git-send-email-tommusta@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1386086305-8163-1-git-send-email-tommusta@gmail.com> References: <1386086305-8163-1-git-send-email-tommusta@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c02::236 Cc: Tom Musta , qemu-ppc@nongnu.org Subject: [Qemu-devel] [V3 PATCH 14/14] target-ppc: VSX Stage 4: Add xxleqv, xxlnand and xxlorc X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This patchs adds the VSX Logical instructions that are new with ISA V2.07: - VSX Logical Equivalence (xxleqv) - VSX Logical NAND (xxlnand) - VSX Logical ORC (xxlorc) Signed-off-by: Tom Musta --- target-ppc/translate.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/target-ppc/translate.c b/target-ppc/translate.c index e13bb8f..1f7e499 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -7451,6 +7451,9 @@ VSX_LOGICAL(xxlandc, tcg_gen_andc_tl) VSX_LOGICAL(xxlor, tcg_gen_or_tl) VSX_LOGICAL(xxlxor, tcg_gen_xor_tl) VSX_LOGICAL(xxlnor, tcg_gen_nor_tl) +VSX_LOGICAL(xxleqv, tcg_gen_eqv_tl) +VSX_LOGICAL(xxlnand, tcg_gen_nand_tl) +VSX_LOGICAL(xxlorc, tcg_gen_orc_tl) #define VSX_XXMRG(name, high) \ static void glue(gen_, name)(DisasContext * ctx) \ @@ -10267,6 +10270,9 @@ VSX_LOGICAL(xxlandc, 0x8, 0x11, PPC2_VSX), VSX_LOGICAL(xxlor, 0x8, 0x12, PPC2_VSX), VSX_LOGICAL(xxlxor, 0x8, 0x13, PPC2_VSX), VSX_LOGICAL(xxlnor, 0x8, 0x14, PPC2_VSX), +VSX_LOGICAL(xxleqv, 0x8, 0x17, PPC2_VSX207), +VSX_LOGICAL(xxlnand, 0x8, 0x16, PPC2_VSX207), +VSX_LOGICAL(xxlorc, 0x8, 0x15, PPC2_VSX207), GEN_XX3FORM(xxmrghw, 0x08, 0x02, PPC2_VSX), GEN_XX3FORM(xxmrglw, 0x08, 0x06, PPC2_VSX), GEN_XX2FORM(xxspltw, 0x08, 0x0A, PPC2_VSX),