From patchwork Sat Feb 9 03:38:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 157904 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp238962jaa; Fri, 8 Feb 2019 19:42:28 -0800 (PST) X-Google-Smtp-Source: AHgI3IaVCj5/pcO9E57KY2cshfdDDOFeKSTIWNwnKkHITBaXxhv8Zd/sBYgXCuwz0PJdP6tLSA7m X-Received: by 2002:a1c:f509:: with SMTP id t9mr1350421wmh.76.1549683748509; Fri, 08 Feb 2019 19:42:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549683748; cv=none; d=google.com; s=arc-20160816; b=jg8JBU6NGay7GMtg39FdlUCsdrkYgBcSe5FXiHOCsKljaN4NiZxDfrVtVxpIu9/Dro JeHullMNdqQv/XZw/wLxGou04voCrGqKbqBKgPzRTYMowmmSsxEMDl/IfxrQqcd3TyD6 DKqevc1ghJ15vBIgi04Ext/VKAghcS2+6SlrK+no40k1/mzYkh04EU7xDkGRiljl4SKV cRzFL1kvYUZfor4ytqro3qAEaP3X/lCVMPyXaYJDr/Y2boa+ciHhBuecHl/StIjvbdcU wlDf/o5YYHOBNivZjBGmxaHYcdcjwM7v3QwvH3xCibWM3Gr1mLc05PUoqcqqPt6fBhKv uwcA== 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=ikYpFikf681LVogH5te3p4IY8LV9GE8MZqWANeWsyP4=; b=LqXSizUZTh4EbH4Bn0BGl4yoGN9KNq5QMjC/9FwgVKwnvY23T8zAf+tZcokAtCmIyH nlhtP8jbptycyLrAgWveXeUqsBe2Fawlprd5FB5AZJN/fLrpML9+WrcfrRjJbSY1rCO/ h/a70wSbJJxyMGWVuQ0T8XZzUpNOLqaTA8spVCBM9F7zs8WcSma7Zh6oELFqcL0voMQo TEqKGCTqrwLb2Uf7xgsebkudfzTBjAUPiINu3Ltl0VVNb03IMQx+U4EPZ6XcXfFsaShn rOKHa2yY9A0Z6cX+2dKLUYinF+0HpUSCHXGhh2AgXKZ6Vfh39aJeOPUF8lEm9dZRIFXh XNqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=v5LoIcjY; 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 u7si2816284wri.182.2019.02.08.19.42.28 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Feb 2019 19:42:28 -0800 (PST) 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=v5LoIcjY; 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]:39079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsJX9-0008Pz-Cl for patch@linaro.org; Fri, 08 Feb 2019 22:42:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsJTi-0006dv-9g for qemu-devel@nongnu.org; Fri, 08 Feb 2019 22:38:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsJTh-0000RL-Hx for qemu-devel@nongnu.org; Fri, 08 Feb 2019 22:38:54 -0500 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:44915) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsJTh-0000Qx-CP for qemu-devel@nongnu.org; Fri, 08 Feb 2019 22:38:53 -0500 Received: by mail-pf1-x441.google.com with SMTP id u6so2564324pfh.11 for ; Fri, 08 Feb 2019 19:38:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=ikYpFikf681LVogH5te3p4IY8LV9GE8MZqWANeWsyP4=; b=v5LoIcjY1+Br04opluA0qjdP/c3kWPO4X7qKTBR5YONoOxG0CJpNq91UhmHiw0YTrs NUvvQlhxc597MJeMTs7cCe9IyAOl3OXu0yooXYA3ILSnHk8pYh1fTUWSGy7yo3DHNbng dQu4M5EPSIKgwBMFHYb+NIeh8xVH2yKGx4QTeoxIaTPBpRTTXceBjzTN0j9wxEwXlFYa sLIZh503idXPThlTHk1vOerGrUgGqvwHlSABWMLOGvX/nhWGssB0ZarMh69VXYkz/0rQ PFKb5FIonQc0FFiZXN7ggF5STtIJYpO1LQU0nNM0yk1E3W2FeEWZjnzzNOosFFzgMucM dtEQ== 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=ikYpFikf681LVogH5te3p4IY8LV9GE8MZqWANeWsyP4=; b=dnEUOUkm7hZIEdSD+fwhrX+kX+ODc2c7Dlne8xxFlp4fXSTv26t7zSwI/p6dDRfMVF 7baB3jkQoZ1jr4AFWMd/2w0mqLYZq1bawD74KjErePOcfELYuvjJOnzZPp09hVc2G6Nb EVXaG6l7XEtiFCtKOghnFZZlTMCgv8Yy+EgiZej/45T+GUvAylfjSWNulrXT7oZv+E4M fFHG7CRxxhh3j7kb38RzT4nPSPBZFIE8Fa1uCQG7IIgp8g+VMnaiG7bxmHUTIL2Ci786 D7BhzxeInUCteS0gbxhwOIXmzmdFml0peNHwGgJ/FO53Hso/MtJPQjBNVGMZDqlp4srV D/3Q== X-Gm-Message-State: AHQUAuZzS3JAIcpSqYCcGc8cYTppDzFgh4Zlv65sXq2dM/DF2TlMHosw GlYPEh227E9rKsVs7uT8NCyXjDAvOzM= X-Received: by 2002:a63:ed03:: with SMTP id d3mr23447789pgi.275.1549683530948; Fri, 08 Feb 2019 19:38:50 -0800 (PST) Received: from cloudburst.twiddle.net (97-126-115-157.tukw.qwest.net. [97.126.115.157]) by smtp.gmail.com with ESMTPSA id s84sm6340737pfi.15.2019.02.08.19.38.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Feb 2019 19:38:49 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 8 Feb 2019 19:38:35 -0800 Message-Id: <20190209033847.9014-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::441 Subject: [Qemu-devel] [PATCH v3 00/12] target/arm: tcg vector cleanups 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 Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Changes since v2: * Fix some representational issues with FPSCR. * Use host vector saturation for SQADD/UQADD. This requires changing the internal representation of FPSR.QC. * Fix a latent vector bug, noticed during the rest. Correct RISU results depend on Mark C-A's patch from today, "tcg/i386: fix unsigned vector saturating arithmetic", which will be in my next tcg pull. r~ Richard Henderson (12): target/arm: Rely on optimization within tcg_gen_gvec_or target/arm: Use vector minmax expanders for aarch64 target/arm: Use vector minmax expanders for aarch32 target/arm: Use tcg integer min/max primitives for neon target/arm: Remove neon min/max helpers target/arm: Fix vfp_gdb_get/set_reg vs FPSCR target/arm: Fix arm_cpu_dump_state vs FPSCR target/arm: Split out flags setting from vfp compares target/arm: Fix set of bits kept in xregs[ARM_VFP_FPSCR] target/arm: Split out FPSCR.QC to a vector field target/arm: Use vector operations for saturation target/arm: Add missing clear_tail calls target/arm/cpu.h | 5 +- target/arm/helper.h | 45 ++++++-- target/arm/translate.h | 4 + target/arm/helper.c | 81 +++++++++----- target/arm/neon_helper.c | 14 +-- target/arm/translate-a64.c | 77 ++++++------- target/arm/translate-sve.c | 6 +- target/arm/translate.c | 219 +++++++++++++++++++++++++++++-------- target/arm/vec_helper.c | 134 ++++++++++++++++++++++- 9 files changed, 433 insertions(+), 152 deletions(-) -- 2.17.2