From patchwork Sat Feb 23 23:29:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 159133 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp474321jad; Sat, 23 Feb 2019 15:30:28 -0800 (PST) X-Google-Smtp-Source: AHgI3IZxQS/j0sOmRAhg7pWALPuFswNw2jx4Fdgq/e4M2uTqrjFSEmdhfIyec3WpJ5t6UwNCrb8O X-Received: by 2002:a81:6b54:: with SMTP id g81mr8803394ywc.232.1550964628017; Sat, 23 Feb 2019 15:30:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550964628; cv=none; d=google.com; s=arc-20160816; b=Dir5/nIm1tecDDGq6ZZhB9xXszR1416rU/Iqvp36d3u7zzBD6fqxroEhiwRYSr32Ei cpreVSt2z3hcMIA78z68nuRS08w968zs+Lz9V+XLyn9di7DGO8drxaRypl9nWDOwy7cG ovQcReK4KfBjYNcxajLRMsPDrNCXKO3gM2zATUWaYSG7UilDM+3fVpNb/YwgYnmlJl79 pC2rbwUaR+ROe8PIH7Ycy7uYdZpeXhXJi0BgwzHbc3Wx8EQ0bIsbLv+XGmZ5f1AcL64P r6/o9HQW1a8oOFHr5uuowOpSYB2vbzXv9eH6X9pieT0wSYGNB+M+XPjyg+1gbkNBSDCm 9Pnw== 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; bh=2T0ZE58a7k44VhfXgL0vsL9KY5CxvAPlBzJS4WWnJUM=; b=blzrg2wzt908T7YlYq8K3bna6VBgnLLUJ3OhZ3mUwr7f15UOBOVhjbcEhAPr8Wksa9 Uwyjq1h0c+D2cDuDnXBAsTLi/JuqcXNz9mTff58PIeQJe1S81KO7pdVpDpvi52un1GrF cLMaCm9+h6D6CQrBf7MqrulAC3kDJZtl5uE6JoCOAxgneezKPyCxKiWMczEUQYZD7PBD 2guz4Iv9Tq8fwk2M5bTlrGPLHmAk3dE6hUW9tpaC6vEgNoZ1KpIjTrUv54uyp1avEt4R s60o4Zv/+EfAuEA+1PWvhbdnVp/PbA+cFUUaTTNtylkN7HU0JWZWz89ZosYRyqK9tSXH ja8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=plSZr0rA; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p10si2978228ywb.239.2019.02.23.15.30.27 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 23 Feb 2019 15:30: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=plSZr0rA; 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" Received: from localhost ([127.0.0.1]:43827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxgkV-0000Pd-Hd for patch@linaro.org; Sat, 23 Feb 2019 18:30:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxgkA-0000P4-CX for qemu-devel@nongnu.org; Sat, 23 Feb 2019 18:30:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxgk9-0007ML-Fa for qemu-devel@nongnu.org; Sat, 23 Feb 2019 18:30:06 -0500 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:44511) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxgk9-0007CF-2d for qemu-devel@nongnu.org; Sat, 23 Feb 2019 18:30:05 -0500 Received: by mail-pg1-x530.google.com with SMTP id j3so2757316pgm.11 for ; Sat, 23 Feb 2019 15:29:58 -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:mime-version :content-transfer-encoding; bh=2T0ZE58a7k44VhfXgL0vsL9KY5CxvAPlBzJS4WWnJUM=; b=plSZr0rAeTPIFF8LZsxpONQIaBtr+hHJYSaFpCnXte5Pcdk92ItpdjIYF0JTrN27C9 /Xok0OmNebM3pIhLchZgOSLWTPLUaOmuaA2RmOnuruUHcvusFPUba1VPA7PmBy2qtK0N Ybu726CxjtL4lIfBeuFwHWTFs4pzpBK+Hec42mLsqQ518KzztbDMFsa0+xdbyf2BcjWm X0HIpJh4YnTsCgJs3QmBEmKiNGLHj/3WZXXEJpiP5SOBtcjCJ7vDAJu0UwPy7QeI8DLO 4BJ+g+I5XTAD6RXMfE4RJnMfDJ3Bd7HTB068Lf+ydH2aRsPyZkyNktngg6wGID37XkEf FgFA== 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=2T0ZE58a7k44VhfXgL0vsL9KY5CxvAPlBzJS4WWnJUM=; b=n+Zz5IgfPjoOZj5GnbUEIX/uH/7TxOM40ee9hbXwk336axpL5E5xwdEbLzAbzJ0/nl 9IVXBrkSVQkmUbHgBJTJgoe+SisQ2K7xkbsp/9bs3w1qDHhmjJ4AdKCrKOtndBba5qxQ ZWcnl4RBBgxYyGdZk6CCADGOmC3oYGma0+XF9PbbtIMza97D6PaiGYvLgcmYgxavFL21 MEJr3xvdm1AwD2sarREabJpENNq3xJ7lxHB60iT2fLWIYX41KQZBgU2U4czAXon5ufRM zQLsMGxcgKEEpv2CG6BCpvTjzFdHZ38Zbw9PE0sJYJOIFSLYf58OAdEVxxKo5uENKvcF m0ZQ== X-Gm-Message-State: AHQUAualU3eNnge5/3wdLFozgPEqwbDuZzf0J7tmbXLKQr4JthopzFW3 Hi2KX/Wbtm5P2fYJWqLngg8Q86XrTvY= X-Received: by 2002:a63:20a:: with SMTP id 10mr3153310pgc.346.1550964596629; Sat, 23 Feb 2019 15:29:56 -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 n1sm13214842pfi.123.2019.02.23.15.29.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 23 Feb 2019 15:29:55 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 23 Feb 2019 15:29:47 -0800 Message-Id: <20190223232954.7185-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::530 Subject: [Qemu-devel] [PATCH 0/5] decodetree enhancements 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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Two of these have been sitting around on a branch for too long. Then, split out the documentation to a new file. Finally, support overlapping patterns. To demonstrate, I convert two decodetree users: hppa and riscv, rfc patches appended to the series. r~ Philippe Mathieu-Daudé (2): MAINTAINERS: Add scripts/decodetree.py to the TCG section decodetree: Ensure build_tree does not include values outside insnmask Richard Henderson (3): decodetree: Move documentation to docs/decodetree.rst decodetree: Do not unconditionaly return from Pattern.output_code decodetree: Allow grouping of overlapping patterns MAINTAINERS | 2 + docs/decodetree.rst | 214 +++++++++++++++++++++++++++++++ scripts/decodetree.py | 287 ++++++++++++++++++++---------------------- 3 files changed, 355 insertions(+), 148 deletions(-) create mode 100644 docs/decodetree.rst -- 2.17.2