From patchwork Tue Jun 9 16:24:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 187674 Delivered-To: patch@linaro.org Received: by 2002:a54:30ca:0:0:0:0:0 with SMTP id e10csp560957ecs; Tue, 9 Jun 2020 09:26:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3Fap/JW4HIoK4hVnlPB8e2xDqOYClB10nzfrmxAZgX2R/2dpfc/j6iiUXwkb7mWJseXjd X-Received: by 2002:a25:7ac3:: with SMTP id v186mr7596455ybc.205.1591719963073; Tue, 09 Jun 2020 09:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591719963; cv=none; d=google.com; s=arc-20160816; b=eEq6SP0lywGR5sgPZSCk0QojL1SrZwKPcEJo/VtZ35yiWxCUHH7oKwDM1NwsuZ0uzF YF9B9EzEh0cCTMDAf4LCudWrn1gbvcbNp0cHGJ2pLUUVSpEOyceQ5XHR7daavtX7ZSKG 9nyXMmRKBnzYz6zesrLSoOUD3//S+Mgt6L0zaNyut+j7QC9B6S1B8/wTdZq1r7BzK8dX Q/SjOowlIB1cO69re+ffnsHY3Fb7Xgms/XypAGS8De4OnErXbn9PGTpNOnLwxw0sEru8 Zi14cGVHVkJGV2qjF1RZBPHFZ7J7g2pIJgxM0sH/uwYKm17AwFbVYM1A0hTkTLp4g5Lc 2Evw== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=A8xa0HH5bE0G78/TNjauK05gt2+9cNe+UPKq7I1z8fQ=; b=uitoi/1NRtDcGGikrB8wlYJE6Wrqjkxz195KHzw+5APGF6DZbpQM3pgv9DCh967Fo3 n6llySBg7gnYRCy6Q4O3XwbW/2wGudZPuKSmteIQOqFNxBm55BSPVw1qaKsbC7i7IqT4 cndoZXTn9WOg5NUG9hiwzQWTH/tVAzyWX5PDmPep0iKGwiKDX6U6q4ftj7RiU+q26+Bv y4KHAwSrDIpzfzen2FysoSJ0jA0KtTIed+z/t3LJEX56IHGoQYVzJ4BUnNjpkJwRe1XW PoD78zxAC+APULuLupnHDaBR3z6RiUGkP+FqygUPBrKXAaRrXbudwTXb17MsNU5caQUl j2Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CCTwwwpv; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a31si2956792ybi.307.2020.06.09.09.26.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Jun 2020 09:26:03 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=CCTwwwpv; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:46636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jih4c-00006S-EY for patch@linaro.org; Tue, 09 Jun 2020 12:26:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jih3n-000063-76 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 12:25:11 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:37122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jih3l-0000Sa-E2 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 12:25:10 -0400 Received: by mail-pf1-x42c.google.com with SMTP id j1so10128416pfe.4 for ; Tue, 09 Jun 2020 09:25:08 -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=A8xa0HH5bE0G78/TNjauK05gt2+9cNe+UPKq7I1z8fQ=; b=CCTwwwpvMbD2UqMR38nnMJm1j5R3oitczS7CcXmhXaYja2Zm3NoOAsWW2yrnCrZeYK rchJdVSvRHcIHDuX8YzkDyG2IGrUHupbuG6OPVARY2zVh/tpldeqO5oS+ZP+2zsNfidV augxmMUxG9cR8Mu4+sKrMvZU5tRUnIuVceWf7G8rv4NpXuTvUXTbbO2V2QlmQfSD2wtA JFtrYqeuqo5KzW6aRz2/Of3tIphqhawb8P66E5MqASlcy1YISk3IiFl2NFTUXaAu8zQY ++Gxj5pCYXU8F3xmQ2jqEj6T5S9uEbbrzVMtTTi3NgLk2n2RgMGOC2xeZhfhhzET06Fy 1efQ== 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=A8xa0HH5bE0G78/TNjauK05gt2+9cNe+UPKq7I1z8fQ=; b=QLiP+gXpUCDkHCbl3JwDKHa6csMv5Ew1hsoX5q7mz21wpA1ts8VBdfTZfjOfFBJ07C 7ZssNdnwx6mcZv4j+XhZcV8j1V6AW4HOy4ZTyjgfC03kkwIYFHTPHRh1u2t4FUUpi0J1 S116lwVvLhDEsqxmkPCK0QT5Pw590XodxTRgOeSpQMjeQ6T9wjNovOs1fpkz0YKdzgOC yWH07sTofvmxGWKnB/+abvkjoSLW0gxuatIdjDDIrsEcy9l1TQpjnJtlreMyP1j1u7jI INA78Flh0Ed7WedVAoyL80vQlEYmQidxloVaevBwB2O8NslV2i4AVHq3jhO5shxIYoFI FQ8g== X-Gm-Message-State: AOAM531cDSAiDTuz84so1uAuvMHeM+Rzr15wCMk72NT1weuxo2CHoC3n tFUy67cwclY+ynBAPRIlIdYOhExVNL0= X-Received: by 2002:a63:6c8:: with SMTP id 191mr24499665pgg.22.1591719906354; Tue, 09 Jun 2020 09:25:06 -0700 (PDT) Received: from localhost.localdomain (174-21-143-238.tukw.qwest.net. [174.21.143.238]) by smtp.gmail.com with ESMTPSA id s188sm7580101pfb.118.2020.06.09.09.25.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 09:25:05 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/9] decodetree: Add non-overlapping groups Date: Tue, 9 Jun 2020 09:24:55 -0700 Message-Id: <20200609162504.780080-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The following changes since commit 49ee11555262a256afec592dfed7c5902d5eefd2: Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-5.1-pull-request' into staging (2020-06-08 11:04:57 +0100) are available in the Git repository at: https://github.com/rth7680/qemu.git tags/pull-dt-20200609 for you to fetch changes up to d6084fba47bb9aef79775c1102d4b647eb58c365: target/arm: Use a non-overlapping group for misc control (2020-06-09 09:21:19 -0700) ---------------------------------------------------------------- Add non-overlapping groups ---------------------------------------------------------------- Richard Henderson (9): decodetree: Tidy error_with_file decodetree: Rename MultiPattern to IncMultiPattern decodetree: Split out MultiPattern from IncMultiPattern decodetree: Allow group covering the entire insn space decodetree: Move semantic propagation into classes decodetree: Implement non-overlapping groups tests/decode: Test non-overlapping groups decodetree: Drop check for less than 2 patterns in a group target/arm: Use a non-overlapping group for misc control target/arm/t32.decode | 4 +- tests/decode/err_pattern_group_nest1.decode | 11 +- tests/decode/err_pattern_group_nest2.decode | 6 + tests/decode/err_pattern_group_nest3.decode | 14 + tests/decode/succ_pattern_group_nest2.decode | 13 + tests/decode/succ_pattern_group_nest3.decode | 11 + tests/decode/succ_pattern_group_nest4.decode | 13 + scripts/decodetree.py | 513 +++++++++++++++------------ 8 files changed, 360 insertions(+), 225 deletions(-) create mode 100644 tests/decode/err_pattern_group_nest2.decode create mode 100644 tests/decode/err_pattern_group_nest3.decode create mode 100644 tests/decode/succ_pattern_group_nest2.decode create mode 100644 tests/decode/succ_pattern_group_nest3.decode create mode 100644 tests/decode/succ_pattern_group_nest4.decode