From patchwork Sat May 2 22:44:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 186068 Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp2285998ilf; Sat, 2 May 2020 15:49:16 -0700 (PDT) X-Google-Smtp-Source: APiQypJsjSAPwp4XaPMPu04WfkUZ0H9R8b3pnCXCC3Ib+lOBiwYXMwSSK1jr4vM4uSsuYDpI6zlE X-Received: by 2002:a05:620a:103b:: with SMTP id a27mr9443496qkk.16.1588459756747; Sat, 02 May 2020 15:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588459756; cv=none; d=google.com; s=arc-20160816; b=L1q1wFF88huxk8zxz9uWn2/Nl/u5PEAsQ1NdmZPwGawlQYyIqe2xbZpc7cPqZ5yqED Q/jL6D5ioGVdMuBZheOA1eZmHa09Sc47aZhuMM7FcysreEy4SvIMmm8zNJjwM+vn723R 7YEE3t0bvR57JuVS0WJYXHYZCDSXg5PfiCGWUdvmIIRqF4ETU6hG7zz6rs1ieIvpsjWk GRWUU8e1L8dm2dbWHFuZfpwf3I3r4fNWFRkLQHLyq0OWsUkM/L0nyza83zXZcVFUxTR8 Y2bnBUw8+iDSnSmQCBO4SHVH1RPzKqxmqEs/G8ErUtxycfXukLxGlGS34VY0mx1huqom jvbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=L+mjihK8N8U7blFol1sDsEomAd7AICYz+OB/p8BHKpY=; b=g5uK5TbFLkixSTp7A7QX/VkUSWsb2qaPV8MYt2YJjwCDz17x+keniaraqRTPkKLxPn 9Vzut3Z/Z4idyLFlEikR/mgUlsoklncpoYybBzGYh5+zNJXZqoncFOpX2eZvKpUqDil3 k8e13mBAai50NlBt0MuguB91bcQaEqqbDfWlDgO/ZpYE4OnVfG4BDj6f6l0psoAybe6x ltpT9XLvNmZ28vmL01C5FujkiwNgjiA4wSoO/qc7ZTMkf3etPlN8MLM64R9MLOrHJDf+ s35P3y0diAiB3b9gdJ2kowHSWZwafrpUEB819ejVA9op+44ZA+YAsf7FZvxosHzG8hDd II9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xm+FxQsc; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:470:142::17]) by mx.google.com with ESMTPS id s1si4090232qtc.403.2020.05.02.15.49.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 May 2020 15:49:16 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) client-ip=2001:470:142::17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xm+FxQsc; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:44944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV0we-0002Cc-6W for patch@linaro.org; Sat, 02 May 2020 18:49:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV0sf-00033r-P4 for qemu-devel@nongnu.org; Sat, 02 May 2020 18:45:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jV0se-0004SE-R0 for qemu-devel@nongnu.org; Sat, 02 May 2020 18:45:09 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:35928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jV0se-0004Ox-9B for qemu-devel@nongnu.org; Sat, 02 May 2020 18:45:08 -0400 Received: by mail-pj1-x1031.google.com with SMTP id a31so1865394pje.1 for ; Sat, 02 May 2020 15:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=L+mjihK8N8U7blFol1sDsEomAd7AICYz+OB/p8BHKpY=; b=Xm+FxQscAERiVmiSdIYRuudahE+y+Gy1wd/znu8i/W/v4DeMOzSpM9G+QzOgEySupt D1X1jWcSSS0PQhRzmZVw2tqiVBYEby1kG7mAgekqPNlTFp3IBfVXpKhj1A7ERrTHbtaY vvBHLARLD0TsV+PTMa9QJ/TBIciW5wpIuxR/5vgHFgDmOqODMasfPiI+heW2AIv69MY4 cIgQy8O+/Am5AAvh2KygwXvtROW2t8pE8EElsJRKhhGH7xC3M8HreSDMEvGgv2DarLWg 7hLdH8cfUEOFfLJO3GTjZRPSpNCHyjWxhxsTHaROiwV5YSaeBMisN4wl7/Rq4uERYe2r nXEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=L+mjihK8N8U7blFol1sDsEomAd7AICYz+OB/p8BHKpY=; b=DvXpbdOyg+0dMGOnFtzYB+2Tmw5jDUwdltMg2o6Kvfi20cZVDyDeWAC8CWsDYNCsKd 95TRuH4nPPc8yrAysl/fcgrZ6WSSq56sQEpgWZPg6zmz9OxvKNVeIValUqLYSOePQHQM Dw4y070LMclOWdAPrG3ffHfiO1q1/nzjuY9jdUfy9kOwcq57ifY4KrWHynL1bZw1ygJD 63WyRZ13MWOIZOBYhVOVoUHPgTh3jzYTuD7SqLeCdFyMuTAoJskzQ2DKuZ3QToeqyMxc cPOLlBzfo92DC2hJx0ZzHekISIER48RLI6ECOvbFokFf2H4NxarXk/UWUkKbpT7EQ46A mmKA== X-Gm-Message-State: AGi0Puag5vCMN8Hp9iZJZy2c/9WU+Dd7Rx/fPKVNg3chv6zP0a3n6pUj lqs4CcxWisTVMKCmi2MPwuA/jMtoZ8E= X-Received: by 2002:a17:902:7793:: with SMTP id o19mr11216037pll.107.1588459505723; Sat, 02 May 2020 15:45:05 -0700 (PDT) Received: from localhost.localdomain (174-21-149-226.tukw.qwest.net. [174.21.149.226]) by smtp.gmail.com with ESMTPSA id h5sm2956182pjv.4.2020.05.02.15.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 15:45:04 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 00/15] target/arm: partial vector cleanup Date: Sat, 2 May 2020 15:44:48 -0700 Message-Id: <20200502224503.2282-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1031.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::1031 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: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is not complete, but shows the direction I'd like to go. It may well help what Peter is doing with the neon decodetree conversion. It may be helpful to apply before the conversion in order to reduce the number of special cases. As may continuing with the cleanup; I'll probably work on that more next week. Version 2 extracts more bits from my sve2 branch. There's still more to pull back, especially for crypto_helper.c, where there are also tail clearing bugs to fix. r~ Richard Henderson (15): target/arm: Create gen_gvec_[us]sra target/arm: Create gen_gvec_{u,s}{rshr,rsra} target/arm: Create gen_gvec_{sri,sli} target/arm: Remove unnecessary range check for VSHL target/arm: Tidy handle_vec_simd_shri target/arm: Wrap vector compare zero GVecGen2 in GVecGen2Fn target/arm: Wrap vector mla/mls GVecGen3 in GVecGen3Fn target/arm: Wrap vector cmtst/ushl/sshl GVecGen3 in GVecGen3Fn target/arm: Wrap vector uqadd/sqadd/uqsub/sqsub GVecGen4 in GVecGen3Fn target/arm: Remove fp_status from helper_{recpe,rsqrte}_u32 target/arm: Wrap vector qrdmla/qrdmls in GVecGen3Fn target/arm: Pass pointer to qc to qrdmla/qrdmls target/arm: Clear tail in gvec_fmul_idx_*, gvec_fmla_idx_* target/arm: Vectorize SABD/UABD target/arm: Vectorize SABA/UABA target/arm/helper.h | 71 +- target/arm/translate.h | 84 +- target/arm/neon_helper.c | 10 - target/arm/translate-a64.c | 210 ++-- target/arm/translate.c | 1948 ++++++++++++++++++++++++------------ target/arm/vec_helper.c | 233 ++++- target/arm/vfp_helper.c | 4 +- 7 files changed, 1679 insertions(+), 881 deletions(-) -- 2.20.1