From nobody Sun Nov 9 14:48:09 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 (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1551331633905648.3312635437416; Wed, 27 Feb 2019 21:27:13 -0800 (PST) Received: from localhost ([127.0.0.1]:60587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzEDo-0006sk-PM for importer@patchew.org; Thu, 28 Feb 2019 00:27:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzEBg-0005g2-8Y for qemu-devel@nongnu.org; Thu, 28 Feb 2019 00:24:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzEBe-0003mp-8c for qemu-devel@nongnu.org; Thu, 28 Feb 2019 00:24:52 -0500 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:42295) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzEBc-0003ie-74 for qemu-devel@nongnu.org; Thu, 28 Feb 2019 00:24:50 -0500 Received: by mail-pl1-x644.google.com with SMTP id v11so3735235plg.9 for ; Wed, 27 Feb 2019 21:24:40 -0800 (PST) Received: from cloudburst.dc.rr.com (cpe-72-132-251-149.dc.res.rr.com. [72.132.251.149]) by smtp.gmail.com with ESMTPSA id u13sm32758371pfa.169.2019.02.27.21.24.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Feb 2019 21:24:38 -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:in-reply-to:references; bh=bhUfeH7Y88x0TUB0opJCJd9CwNlMyBnOlAFYaYt2ezU=; b=AyPBiZQ5OMa9X3JAZ+zA3rsSq67zV0M0WORdQUs0YtFwXi9y8SJTio0JP2SrUGrOWt AqpsM6XzIzW2Z2+qtBpM2wXMcCjP4zbBtoc1jsOqu9tZaT/axUJYaUlMpCuMWwSYvS4d Dh5L+BgKcE8ssZSJTL/C4gG7ZWR5knKwvSfeqkjFEAkqh5Q4u6GjNHFC1BgbsAgyApAb 9odfq5uMxHHsHkFPRyTv8cmFJ95TioOtsceTH9mypyZoEpbZ8rgpBLL3CHeJt4eGcZnl ZzW/Wn9ZwZiIDzOE1RHeEalEosLYj/y++vT0hHTJBoD7FiJAla4eW6fNhp8P8eRflUSG I8MQ== 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:in-reply-to :references; bh=bhUfeH7Y88x0TUB0opJCJd9CwNlMyBnOlAFYaYt2ezU=; b=mo4B8kJaTBWLYinyKwfqgQAzBZ4vsUrodczW9/q7NvBnGTiltipTwQ3kq/8Mt3KtWr 1gGjmubyN8kAmMpoJqjXMJj7uju6wCnXzrYhUOVAgZmNBYi2B+Q2XxwMVtaKGqyU8VHF SkCn271oX0SpQhpp0bk0FHl4kiRQTedxT7oJusnd16g+WAf6hv8Q15X2CTjITtUozAUH O0ik70qVSfJlClC2nDj+v60WkmGcpfylItET0GdGK7EJvbVoYVtEDdqi90/y3SRbRLDN JQOhk3YNkZZuVoRW89gp5hTF1z+HoBztYKWbkqBG6DRXGLPpGdQymZXmajBj9/xeDnPy 97Bw== X-Gm-Message-State: AHQUAuYvXpEv/mScK+Rco0FFx3SakGHk2Epy8ZShPaNckfig7aFdvhEx pb+L37kD1UqQc3Ers9ZgTqhRTsSgc4U= X-Google-Smtp-Source: AHgI3IZBbBQ03cwfjZX8oRiMDiEAy796SGz0IaXj9yymVIcQP6+NKfrI6BsPESPMJmHvjgk1fBOqmg== X-Received: by 2002:a17:902:9a43:: with SMTP id x3mr6007751plv.173.1551331479260; Wed, 27 Feb 2019 21:24:39 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 27 Feb 2019 21:24:27 -0800 Message-Id: <20190228052432.32571-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190228052432.32571-1-richard.henderson@linaro.org> References: <20190228052432.32571-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::644 Subject: [Qemu-devel] [PATCH v2 3/8] 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: , Cc: kbastian@mail.uni-paderborn.de, f4bug@amsat.org 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" Cc: Bastian Koppelmann Signed-off-by: Richard Henderson Reviewed-by: Bastian Koppelmann --- 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