From patchwork Sat May 18 19:19:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 164465 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp3723440ili; Sat, 18 May 2019 12:34:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1Q4GxKvdSFTm7UmO2qWfH1O3UAJk9wLoiUlOY9uc62u63ItOWuG0eTTxE6NJswA9VAGIe X-Received: by 2002:a17:906:65d2:: with SMTP id z18mr31835875ejn.68.1558208040045; Sat, 18 May 2019 12:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558208040; cv=none; d=google.com; s=arc-20160816; b=BaRKD8doJEHZvrh0dqSFM1M31tO8orF0e5/5wuoLxP37WowxyuVrOhvBwbx0n1/C12 nZ/WTVlgC7e2aHiEtxALA4X5ZPowZADEhXIv0MH7Udg4gQNAMrmRRhE9IapRyAUsR1Rt bV2u/MK1ZyWJA53EBCYY9FrxRd2xNIEq9KzDdPN+gZZQteTdqN8Fd23z23xZ4KVWdSBK DS3s8K0DOjFCwdqHUEAhIv84oCVgLKg7FW5YylEFIgpp9d1J5fgmQXzdwZtJt7l+gaOY f8fYlwvrrzuirPoY5B38Gs5XbawKKeIgb9Wy4tGrxLVYHVgGyuJHjmz+5HaMRLHehdwH eXeQ== 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:subject:message-id:date:to:from :dkim-signature; bh=kNWizZq2qCo4VoGKtgyncVFOYpv0fo/wpkn1n6HcdBo=; b=TS92ZJ0UtHKWAw/qkEs8uI4wFawP1IxAhq1FZTt9bvMKQXZbxkD3r54TpU/zjilhjm 1dLYbAE1AW+neaKTvrCQfeEegsat7xDCtzjPg8QmP7hpP2Jw5luh4jJwFX5BbT/ex/3q SZmY/7KNDHvWZeJGa3bjyl5SK5DzoNtYs8MVwK4zapSATSBBv4HUJazfZ+HA9npLfK9O 9SlcAwPaePX9icUiO4QjZ1NlMiYNQsRoHg70XDSski2qhykKVYZgKBs42it70KY/uqq/ 2fPMxGaNkdjHoCSUhhy2KcU9NfpU6YraDLGL2l8v0RnI8+fGfuFYj4ZVhKZbA2oxTrnS Cd/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Iio5Y0uY; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x44si6042353eda.432.2019.05.18.12.33.59 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 18 May 2019 12:34:00 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Iio5Y0uY; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:37971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hS55j-0003ux-0b for patch@linaro.org; Sat, 18 May 2019 15:33:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hS53e-0002NK-Af for qemu-devel@nongnu.org; Sat, 18 May 2019 15:31:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hS4rq-0007ZC-TE for qemu-devel@nongnu.org; Sat, 18 May 2019 15:19:39 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:37332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hS4rq-0007Yh-OM for qemu-devel@nongnu.org; Sat, 18 May 2019 15:19:38 -0400 Received: by mail-pg1-x52e.google.com with SMTP id n27so2244514pgm.4 for ; Sat, 18 May 2019 12:19:38 -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; bh=kNWizZq2qCo4VoGKtgyncVFOYpv0fo/wpkn1n6HcdBo=; b=Iio5Y0uYhkmB0I3YRLIR0rd1kCgETMp4yB9tzp2MTtS6OqCbMCGFxohsRb40p+KPWI /FdWZCqgv9f1lW12kyrMFDHwvWhu+xCI6EwiJVMgnRo9ubcbmKmg9fOyqlO5vAnf1M8d dR96xNzJxCQE9zj2m4rHI5i27Ein3Vo4EZm09aq4fmdJrca0IFv2rwPt3xdVIH9G6esD JM0TyWCv42sjpaYQXqT5ZEPOvO5UClwCZLz9opZ4s9ZfHfrPLJS1ArAGLJ1JtPlUUnRW XJGXRULx3qwVYrWJTI77Niv/NaPIt7Z3tJdxs9w/owY+uG0iz+OR/CP+efZJ0DMR3Aiv FsyA== 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; bh=kNWizZq2qCo4VoGKtgyncVFOYpv0fo/wpkn1n6HcdBo=; b=rxXjjcmkVlNzDlYQzONXx3HFoXJhbDgFYCBXs3YzS8DT3QmaY2Om+EFIwTy/dt7RZA yibebWJBGS2k9LFwHobC1BKqQ2L2i75zykdABph/yKpABooeYJFvX4rtHs/DCRp3jmCf QZeLmHU+C+8xKI825iCFY2UDJzMdaSxWqCpGcNh+u8LPLYRglOMe1/KNQslFPZmBEOLn ZRNcmlUYUM+vgKwYV1WcCQ0czYRXoQuy8CCgZtTFPp7GMhHIeT8NOpZ0AbM2vS5TwYIK 2JgaseaNPjpKe30zK7ndvutKcBRDF9NYaQ+eNssQOUtbtNCpogApjU1/W07mJMpTrRHf cypQ== X-Gm-Message-State: APjAAAVAMm4/KyMK+NL4TIyLyph0YJcmW2MNWq4rLEe6QRvdpnfYKY4U WfXqA9wIbc6tV6Bip5awU4LEVNzRRK4= X-Received: by 2002:a63:ec02:: with SMTP id j2mr40225148pgh.340.1558207177340; Sat, 18 May 2019 12:19:37 -0700 (PDT) Received: from localhost.localdomain (97-113-13-231.tukw.qwest.net. [97.113.13.231]) by smtp.gmail.com with ESMTPSA id r185sm19639625pfc.167.2019.05.18.12.19.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 May 2019 12:19:36 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 18 May 2019 12:19:32 -0700 Message-Id: <20190518191934.21887-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52e Subject: [Qemu-devel] [PATCH 0/2] target/arm: make use of new gvec expanders 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: peter.maydell@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Based-on: <20190518190157.21255-1-richard.henderson@linaro.org> Aka "tcg: misc gvec improvements". We've added (or are adding) generic support for variable vector shifts and bitsel. This trivially replaces the implementations of BSL, BIT, and BSL. It enables a reasonable implementation of {U,S}SHL. r~ Richard Henderson (2): target/arm: Vectorize USHL and SSHL target/arm: Use tcg_gen_gvec_bitsel target/arm/helper.h | 15 +- target/arm/translate-a64.h | 2 + target/arm/translate.h | 9 +- target/arm/neon_helper.c | 33 ---- target/arm/translate-a64.c | 33 ++-- target/arm/translate.c | 362 ++++++++++++++++++++++++++++--------- target/arm/vec_helper.c | 176 ++++++++++++++++++ 7 files changed, 486 insertions(+), 144 deletions(-) -- 2.17.1