From nobody Sun Nov 9 22:30:04 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1551986112643233.24281715640836; Thu, 7 Mar 2019 11:15:12 -0800 (PST) Received: from localhost ([127.0.0.1]:57852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1yU0-0000Un-Ht for importer@patchew.org; Thu, 07 Mar 2019 14:15:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1yBy-0001CJ-KF for qemu-devel@nongnu.org; Thu, 07 Mar 2019 13:56:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1yBx-0002NT-PG for qemu-devel@nongnu.org; Thu, 07 Mar 2019 13:56:30 -0500 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:33948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1yBx-0002MJ-HH for qemu-devel@nongnu.org; Thu, 07 Mar 2019 13:56:29 -0500 Received: by mail-pg1-x541.google.com with SMTP id i130so11979805pgd.1 for ; Thu, 07 Mar 2019 10:56:29 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id g12sm8801973pgr.76.2019.03.07.10.56.27 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Mar 2019 10:56:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=2rJysuN4kOcM861oITn+8gqeEuwCTb6zNf90hFLC10A=; b=CF8ZRVOlzQE7okwBZAEuw7VvlxKJJCdZWq+1vJGWseZnFIlyfXmDccsWLu3HRZTZBr rqL1U3lNt8QOlwpLM/YRxfrCMzJi8a2LeLCjnW9/w7tCScmkM9uZdqCIi8dv6VbEBlKR nVOgEICyK3AyGEYiqp2O/+sWoEswY/yUUs+C7YgDkGNaIEh6mt/Ax/V/+RoKG8+r8qlp SohIc7bfWCtVBpE7QcjCDs99LnxA5nKH347fyzP7bingBA/KTZK/QU33vy0KXlb2q0eW ORFlphJWU0zRniEVN8t33us80Kh+K6Mesv5DU13J+5hrhNNiOXnhwyQVOMp6jinySMzi +ugA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=2rJysuN4kOcM861oITn+8gqeEuwCTb6zNf90hFLC10A=; b=TUNAbH7eS6qT3dEUjPJBybb8JUlmvyNiZzcq8vQ881dvZk2Z8FUzo1SqooJxYDDB7h YefPhH0NUI7m0WfkP4+s/3MwHopg70DhZAs0CLpoWOeW9AujYJKL/flGzH52qh0caPKX Gn2YSvBggC1ymj6oyPvL8Xb7LOAHNtOmD+MKj8xqbS4Y00iafZH8u3LVNRXZnTnzei42 RIOYI+cvCOhFnETgkRTziwVaj7xJyYNo6+0FGJeLEr6aW4Lm5fyvTX6uNI6cU+VXupHX Cp4+MekKvXtRFqgT5S1K8C5HDv71LY9JBrA/OYKOg1i37CCj/FHtO7WgGIBF88pVPlBZ neOA== X-Gm-Message-State: APjAAAXSi/kwsqpciHumXhdHBO8pQfBdHanXed2xeG4BMsEvIyaCJYnU 7X18lX8LV71wNWkPklQtluWAzG3krCQ= X-Google-Smtp-Source: APXvYqwtnB3uFfKdZj1KrRFPzzfMygk2S5Ty7BWh4iYbR1/mfgaQlvvj1wsJziJJTvyuOyFny32V2w== X-Received: by 2002:a62:2008:: with SMTP id g8mr14005842pfg.121.1551984988152; Thu, 07 Mar 2019 10:56:28 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 7 Mar 2019 10:56:13 -0800 Message-Id: <20190307185622.29026-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190307185622.29026-1-richard.henderson@linaro.org> References: <20190307185622.29026-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::541 Subject: [Qemu-devel] [PATCH v3 03/12] decodetree: Document the usefulness of argument sets 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Reviewed-by: Bastian Koppelmann Signed-off-by: Richard Henderson --- docs/devel/decodetree.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/devel/decodetree.rst b/docs/devel/decodetree.rst index d9be30b2db..62cb7f687c 100644 --- a/docs/devel/decodetree.rst +++ b/docs/devel/decodetree.rst @@ -69,6 +69,13 @@ with each of the fields being one of the member argument= s. If ``!extern`` is specified, the backing structure is assumed to have been already declared, typically via a second decoder. =20 +Argument sets are useful when one wants to define helper functions +for the translator functions that can perform operations on a common +set of arguments. This can ensure, for instance, that the ``AND`` +pattern and the ``OR`` pattern put their operands into the same named +structure, so that a common ``gen_logic_insn`` may be able to handle +the operations common between the two. + Argument set examples:: =20 ®3 ra rb rc --=20 2.17.2