From patchwork Tue Oct 31 14:54:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 117642 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4022347qgn; Tue, 31 Oct 2017 08:01:22 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TWACGH2Z5THMnTahfkBetSpFPPz1daR1yV3gFJ4q3JZn29KU7lFSGQnlxvAkSxLJsVuAjf X-Received: by 10.129.103.66 with SMTP id b63mr1400804ywc.250.1509462082799; Tue, 31 Oct 2017 08:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509462082; cv=none; d=google.com; s=arc-20160816; b=jSUgdpRUIIqgzq0HioEbBhZ+mw1TcpZsGTpMiAJpi4lHpFP5Ww0seoaMdx5eGcNYbF kAdnHoLdcY0NONZxT4hQ/WhT7Nk7j3g6B2Wq1miORKWTfaHISmoG9m1KH0dRlNNoWwO1 0xxG15eA62U8vTS2WSCBhlP8avzFlW4lrVY/QWkhD+bCtM+obFo9+xeRqZq6GJOQudgY yxb5dsvSuMbVC4+tFeBnrAsgtwMP+3cg9K4Rq1152J9IqpwiPx2l6JY06yOdYPtwi5ze qEAosx0W8a8KltuiM9EbjcXPmrcnAdYj4Rifc4jU+TmTQIXQQZQLj5unZVlemom6NCSS cwDQ== 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 :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=Q3i1TPPeyEPAaeleROATRuWajRkdF6T8b/5FD3dGcIc=; b=s7YFyIj3dfoJEojy0qpCW83DdeT5kJF5oPxPuuzOPeewFQfjE/JgLBP6pIXVIlr9aY OuTTXr0bF7gGaVxc6gLxI/4FnIWFgYPPs27lE5xqGn7PDdqFW2RBUA/jquYDyS/izbWh 0cIUYbnMoGVkY4FeRQY5PgNz5mELpxNJgpBKDqyjcWe9+iJV6JmSnEbQTzSpsJi8e+qO Cj/NVmKIi8IOeu1vEIdoCQVHoUlfYsl8MjH8blJrw5oDbkUmHBxkNcMWfQ+TS8t98xAI 2YsMFZCZy1cNaydOVy3xDUv8JsnRYtssKRKs0YcD7/zpJt2S++KbJXzpYKph9RQoP52Q 6xNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=U7EYgnmg; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id a10si415136ywa.652.2017.10.31.08.01.22 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 31 Oct 2017 08:01:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=U7EYgnmg; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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 ([::1]:46029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9Y2c-0005GF-D2 for patch@linaro.org; Tue, 31 Oct 2017 11:01:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9Xwc-0000dv-0r for qemu-devel@nongnu.org; Tue, 31 Oct 2017 10:55:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9XwS-000705-NY for qemu-devel@nongnu.org; Tue, 31 Oct 2017 10:55:10 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:51936) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9XwS-0006zJ-ID for qemu-devel@nongnu.org; Tue, 31 Oct 2017 10:55:00 -0400 Received: by mail-wm0-x22b.google.com with SMTP id b9so23836306wmh.0 for ; Tue, 31 Oct 2017 07:55:00 -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=Q3i1TPPeyEPAaeleROATRuWajRkdF6T8b/5FD3dGcIc=; b=U7EYgnmgQCH5zU2CSw77kNoM+HU7oTp9NuqBqhgseGPDYBcGB5D9sg//mRbDHeE2EC ATnsDTu2HzJ2qONnwLrMgbnNan/ZWmQ14SE/YX/YyMufeiWKi1/arU4zFdP8gwYlpRoG nhb1qeI4sn8B9YaOam4frtamPoc3sXNFVxzCg= 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=Q3i1TPPeyEPAaeleROATRuWajRkdF6T8b/5FD3dGcIc=; b=dDNAjo+y32I/YbFnSJkX2gL1S4EzzW/s8g390omO3RyETiIWlPUovJ8mvdXC7uzWxs BPwojA8afwIxt1SWImnruGBoh0++N1MZfqzRauZVzjXwxEOa0Ere+texCCahQvhzAG8g 3gXq8WVHYOMOdKzj0hRe4pv6Y+ngJ4Wheqrv/qPwSEefm8DeUM+2ceMhceUkHe+a3Jvc lLLM/U7lxSn8+48MXLcg/jRdHL4IDMS4cyCOXX+SP9wueHFOWJXqXeD25gMN+QDxMw5U K/Qiuauf2GKN8IcqJek4IqBa9rLNmSfHRUuQgNto0YnY7VnMvrKO7OgJPSZJdBHsFyM5 YE3Q== X-Gm-Message-State: AMCzsaXkPyOePoLQd3/YiWVVR/gHAR2yYYFuLTfemaXNwths9dW2GOJv uLzvrYYArXjWBddFgAeWdEtlXw== X-Received: by 10.28.14.195 with SMTP id 186mr2094530wmo.56.1509461699341; Tue, 31 Oct 2017 07:54:59 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id c37sm4945731wra.73.2017.10.31.07.54.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Oct 2017 07:54:58 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 9F0573E02F2; Tue, 31 Oct 2017 14:54:57 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 31 Oct 2017 14:54:37 +0000 Message-Id: <20171031145444.13766-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.14.2 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22b Subject: [Qemu-devel] [RISU PATCH 0/7] Add @Group support and some aarch64.risu 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: qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi Peter, My RISU patch queue was running a little long so I thought I should push up stuff that was ready. The first few patches are simply clean-ups to the aarch64.risu file, mostly removing duplicate blocks that have crept in. There is a prerequisite clean-up patch which moves the filtering into the common risugen code and passes an array of keys to the backend. Then I add support for @GroupName annotations which allow for a nicer selection of groups of instructions. This works across all architectures now. Finally a big (but mechanical) update of the aarch64.risu file. I've aligned the names of the major groups to what the ASL/ARM ARM uses and added some example @Groups for the gross sections. I expect to add more fine-grained groups later as we add the new half-precision and SVE instructions. Alex Bennée (7): aarch64.risu: document naming conventions aarch64.risu: remove duplicate AdvSIMD Scalar 3 same block aarch64.risu: remove duplicate AdvSIMD scalar 2 reg misc block aarch64.risu: update AdvancedSIMD across lanes risugen/risugen_$arch: factor out instruction selection risugen: support @GroupName in risu files aarch64.risu: clean-up and annotate with groups README | 10 ++ aarch64.risu | 423 +++++++++++++++++++++++++++++-------------------------- risugen | 49 ++++++- risugen_arm.pm | 18 +-- risugen_m68k.pm | 18 +-- risugen_ppc64.pm | 18 +-- 6 files changed, 285 insertions(+), 251 deletions(-) -- 2.14.2