From patchwork Tue Jul 4 14:48:48 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: 106981 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1090681qge; Tue, 4 Jul 2017 07:50:43 -0700 (PDT) X-Received: by 10.200.42.181 with SMTP id b50mr15487559qta.122.1499179842983; Tue, 04 Jul 2017 07:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499179842; cv=none; d=google.com; s=arc-20160816; b=eCAv+hkQe4xh6BxUahdzojsVybsXpjzqh1zkoEjJP66Cyt12e51E1Te8+3sX5e2rPb 6nxLY4Xoo9NqJTWrK6EFBvMyFIJ9i4aJZEYJfIMmq9XYRqN079ce/toQhaN6jpTh8Irz 55qPl0YikS0fYmvDU162PnINV9/MLLOiZyEgOKufXFh94ApoiKgZqt+l9emciqZ4mHjQ 9lsvKsTWGLomMMYcfyP2lgTHb+SwvoSgIQG2Ool5PsNZ5RC/WRpjj5AaLFr9A/BNOTqM ae8yGGT41NovhbGUtgcdV90YDJ/qFhNWDyHMy+tmFEHVKcb+1cwG846kDx6rqTwMyGKr fRqg== 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=lVmgfiPJk3PYR4VTYvrCW7Lr0j3iYXWEh05AvH0LHPo=; b=pfIP7jxz7g0IuV5Ai/M7wnLdjtO0kgmg+ZLLpCEt/JyNxKS7KdPG6uFOr9lWEDZ4Tt g3DbRS0JmUEktXzpy8biWdBSjcADQVYxfyIteWb/A25m7sGuZT3AdyNLSPU6nxLZ18nM KzXKsLHihFn3yPu0hYO0bxAtpiK3Qrt5vjvDIEiA2z6q3qzEQnc+VZ97Q5t0Pyy8aJh1 iS4/gZGyyhDc0+wLKkVjZvXXsLBbZzkXH5d8rCWBZGVw2zuMX/iFNTgsKaAN+xV+5F+c NSJjYCdJrfqywUEQDVVvsSNoKJr3i8+hL/ZlFjpl6P8Ch4Ue3AAo+pxTTlPp/Q0mzOvZ W2ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=hYvE5Nlv; 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 u48si5515701qtu.388.2017.07.04.07.50.42 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 04 Jul 2017 07:50:42 -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.b=hYvE5Nlv; 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]:41764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSPA0-0001cc-97 for patch@linaro.org; Tue, 04 Jul 2017 10:50:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSP7h-0008Db-QD for qemu-devel@nongnu.org; Tue, 04 Jul 2017 10:48:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSP7d-000147-TL for qemu-devel@nongnu.org; Tue, 04 Jul 2017 10:48:17 -0400 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:35174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSP7d-00012M-Jx for qemu-devel@nongnu.org; Tue, 04 Jul 2017 10:48:13 -0400 Received: by mail-wm0-x22e.google.com with SMTP id w126so198099858wme.0 for ; Tue, 04 Jul 2017 07:48:11 -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=lVmgfiPJk3PYR4VTYvrCW7Lr0j3iYXWEh05AvH0LHPo=; b=hYvE5Nlvbg57TH5xVFyIbhlVVPcqzcpCXxsJPGen2A1ptyelRJnBRnE5xwR6WOoxXr kkied1BEIDJAP32axhGK6awKZda34jcxRcjfbK+LThZRh+4y6FI3aVJskVYzYRkt31sh dxtnDgZppcxVCQNUaS+weClHkg8NNKFAwOnSs= 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=lVmgfiPJk3PYR4VTYvrCW7Lr0j3iYXWEh05AvH0LHPo=; b=pouQsEZFZi3RKa42GxtiAcGU87qJVmDjC9HC4BNaisvmdPWQG4obnjj26JbW6m11xM PmJhiWbBhYJak1UnE8RLOhNhMvvCAJzPVW8mzXObRij/hhmkFve+SNvbti2OsdAmZ+QR 3973VzOBWwlhJEe+/MYJAYcFvF6HcJ9Mw2w8n90tjGmx/yIzFFoZ9JwaqGLK4xYN1CpV XKmzq1I4iHu/WZe5Q9qqojkA5UiSghOXyRrH/ymetNvDFH0eZUSsa02Io1Q26XbiRrSA 7Gm0oBANl9t+RGiqyj1KR7tNw4Kv/bdKR+C8yRT2k/+gr1+RTovnl78DCIe0vRr2dW8L jMXw== X-Gm-Message-State: AKS2vOzr1LPN9QHe1y9iCHvZ1cZq5ZiG5Jn2GBKH3bBMA5j6ewrsFl61 iDRGE/M+ffdG7wC4 X-Received: by 10.28.135.5 with SMTP id j5mr18468727wmd.47.1499179690625; Tue, 04 Jul 2017 07:48:10 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u187sm3301025wmd.26.2017.07.04.07.48.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 07:48:09 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id C1A583E0C85; Tue, 4 Jul 2017 15:49:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 4 Jul 2017 15:48:48 +0100 Message-Id: <20170704144859.17644-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 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::22e Subject: [Qemu-devel] [RISU PATCH 00/11] Misc fixes, documentation and patterns 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, A bit of a mixed set of patches here for you to pick from as you will. The first 2 are additional tracing fixes including a fix for segfaulting when generating a trace. The next two are documentation patches as requested. Then two minor tweaks, one to risu.el and a indent failure of risugen. While I've been working through the half-precision stuff I've been finding the --pattern approach a bit inflexible as you basically end up eyeballing the risu file to build up the regexs. I've added a little syntactic suger to the risu file to enable grouping. This makes slicing a subset a lot easier, e.g.: ./risugen --group AdvSIMDAcrossVector --not-pattern ".*_RES" aarch64.risu You can specify multiple groups in the risu file as the matching is string based, e.g.: @Integer,Logic,Immediate And then: ./risugen --group Logic aarch64.risu foo.bin What do you think? Alex Bennée (11): risu: make match status take tracing into account reginfo.c: always return 1 on OP_TESTEND README: document --static builds README: document record/replay support risu.el: derive from text-mode risugen: fix bad indent risugen: support @GroupName in risu files 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 README | 40 ++++++++-- aarch64.risu | 241 ++++++++++++++++++++++++--------------------------------- reginfo.c | 19 +++-- risu.c | 4 +- risu.el | 2 +- risu.h | 2 +- risugen | 17 +++- risugen_arm.pm | 7 ++ 8 files changed, 175 insertions(+), 157 deletions(-) -- 2.13.0