From patchwork Fri Jan 7 18:56:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Matheus K. Ferst" X-Patchwork-Id: 12707007 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 10997C433F5 for ; Fri, 7 Jan 2022 19:47:12 +0000 (UTC) Received: from localhost ([::1]:49570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5uUs-0004ft-HS for qemu-devel@archiver.kernel.org; Fri, 07 Jan 2022 14:01:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5uQq-000804-Mu; Fri, 07 Jan 2022 13:57:44 -0500 Received: from [201.28.113.2] (port=11770 helo=outlook.eldorado.org.br) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5uQo-0007Do-BN; Fri, 07 Jan 2022 13:57:44 -0500 Received: from p9ibm ([10.10.71.235]) by outlook.eldorado.org.br over TLS secured channel with Microsoft SMTPSVC(8.5.9600.16384); Fri, 7 Jan 2022 15:57:37 -0300 Received: from eldorado.org.br (unknown [10.10.70.45]) by p9ibm (Postfix) with ESMTP id 096E38001D1; Fri, 7 Jan 2022 15:57:37 -0300 (-03) From: matheus.ferst@eldorado.org.br To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Subject: [PATCH 00/37] target/ppc: PowerISA Vector/VSX instruction batch Date: Fri, 7 Jan 2022 15:56:16 -0300 Message-Id: <20220107185653.1609775-1-matheus.ferst@eldorado.org.br> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-OriginalArrivalTime: 07 Jan 2022 18:57:37.0488 (UTC) FILETIME=[7018DD00:01D803F8] X-Host-Lookup-Failed: Reverse DNS lookup failed for 201.28.113.2 (failed) Received-SPF: pass client-ip=201.28.113.2; envelope-from=matheus.ferst@eldorado.org.br; helo=outlook.eldorado.org.br X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: danielhb413@gmail.com, richard.henderson@linaro.org, groug@kaod.org, clg@kaod.org, Matheus Ferst , david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Matheus Ferst This patch series implements 5 missing instructions from PowerISA v3.0 and 40 new instructions from PowerISA v3.1, moving 62 other instructions to decodetree along the way. Lucas Coutinho (2): target/ppc: Move vexts[bhw]2[wd] to decodetree target/ppc: Implement vextsd2q Lucas Mateus Castro (alqotel) (3): target/ppc: moved vector even and odd multiplication to decodetree target/ppc: Moved vector multiply high and low to decodetree target/ppc: vmulh* instructions use gvec Luis Pires (1): target/ppc: Introduce TRANS*FLAGS macros Matheus Ferst (20): target/ppc: Move Vector Compare Equal/Not Equal/Greater Than to decodetree target/ppc: Move Vector Compare Not Equal or Zero to decodetree target/ppc: Implement Vector Compare Equal Quadword target/ppc: Implement Vector Compare Greater Than Quadword target/ppc: Implement Vector Compare Quadword target/ppc: implement vstri[bh][lr] target/ppc: implement vclrlb target/ppc: implement vclrrb target/ppc: implement vcntmb[bhwd] target/ppc: implement vgnb target/ppc: Move vsel and vperm/vpermr to decodetree target/ppc: Move xxsel to decodetree target/ppc: move xxperm/xxpermr to decodetree target/ppc: Move xxpermdi to decodetree target/ppc: Implement xxpermx instruction tcg/tcg-op-gvec.c: Introduce tcg_gen_gvec_4i target/ppc: Implement xxeval target/ppc: Implement xxgenpcv[bhwd]m instruction target/ppc: move xs[n]madd[am][ds]p/xs[n]msub[am][ds]p to decodetree target/ppc: implement xs[n]maddqp[o]/xs[n]msubqp[o] Victor Colombo (6): target/ppc: Implement xvtlsbb instruction target/ppc: Refactor VSX_SCALAR_CMP_DP target/ppc: Implement xscmp{eq,ge,gt}qp target/ppc: Move xscmp{eq,ge,gt,ne}dp to decodetree target/ppc: Refactor VSX_MAX_MINC helper target/ppc: Implement xs{max,min}cqp VĂ­ctor Colombo (5): target/ppc: Implement vmsumcud instruction target/ppc: Implement vmsumudm instruction target/ppc: Implement do_helper_XX3 and move xxperm* to use it target/ppc: Move xs{max,min}[cj]dp to use do_helper_XX3 target/ppc: Implement xvcvbf16spn and xvcvspbf16 instructions include/tcg/tcg-op-gvec.h | 22 + target/ppc/fpu_helper.c | 172 ++++-- target/ppc/helper.h | 144 ++--- target/ppc/insn32.decode | 189 +++++- target/ppc/insn64.decode | 40 +- target/ppc/int_helper.c | 354 ++++++----- target/ppc/translate.c | 19 + target/ppc/translate/vmx-impl.c.inc | 894 +++++++++++++++++++++++++--- target/ppc/translate/vmx-ops.c.inc | 41 +- target/ppc/translate/vsx-impl.c.inc | 516 ++++++++++++---- target/ppc/translate/vsx-ops.c.inc | 67 --- tcg/ppc/tcg-target.c.inc | 6 + tcg/tcg-op-gvec.c | 146 +++++ 13 files changed, 2037 insertions(+), 573 deletions(-)