From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: kbastian@mail.uni-paderborn.de, f4bug@amsat.org
Subject: [Qemu-devel] [PATCH 3/5] decodetree: Ensure build_tree does not include values outside insnmask
Date: Sat, 23 Feb 2019 15:29:50 -0800 [thread overview]
Message-ID: <20190223232954.7185-4-richard.henderson@linaro.org> (raw)
In-Reply-To: <20190223232954.7185-1-richard.henderson@linaro.org>
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reproduced with "scripts/decodetree.py /dev/null".
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
scripts/decodetree.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/decodetree.py b/scripts/decodetree.py
index ba203aeccd..fb9a0ab3ad 100755
--- a/scripts/decodetree.py
+++ b/scripts/decodetree.py
@@ -784,7 +784,7 @@ class Tree:
def build_tree(pats, outerbits, outermask):
# Find the intersection of all remaining fixedmask.
- innermask = ~outermask
+ innermask = ~outermask & insnmask
for i in pats:
innermask &= i.fixedmask
--
2.17.2
next prev parent reply other threads:[~2019-02-23 23:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-23 23:29 [Qemu-devel] [PATCH 0/5] decodetree enhancements Richard Henderson
2019-02-23 23:29 ` [Qemu-devel] [PATCH 1/5] MAINTAINERS: Add scripts/decodetree.py to the TCG section Richard Henderson
2019-02-23 23:29 ` [Qemu-devel] [PATCH 2/5] decodetree: Move documentation to docs/decodetree.rst Richard Henderson
2019-02-24 10:37 ` Peter Maydell
2019-02-25 10:06 ` Bastian Koppelmann
2019-02-23 23:29 ` Richard Henderson [this message]
2019-02-25 10:08 ` [Qemu-devel] [PATCH 3/5] decodetree: Ensure build_tree does not include values outside insnmask Bastian Koppelmann
2019-02-23 23:29 ` [Qemu-devel] [PATCH 4/5] decodetree: Do not unconditionaly return from Pattern.output_code Richard Henderson
2019-02-23 23:43 ` Philippe Mathieu-Daudé
2019-02-25 10:13 ` Bastian Koppelmann
2019-02-23 23:29 ` [Qemu-devel] [PATCH 5/5] decodetree: Allow grouping of overlapping patterns Richard Henderson
2019-02-23 23:55 ` Philippe Mathieu-Daudé
2019-02-26 9:41 ` Bastian Koppelmann
2019-02-27 12:02 ` [Qemu-devel] [PATCH] test/decode: Add tests for PatternGroups Bastian Koppelmann
2019-02-27 23:04 ` Richard Henderson
2019-02-23 23:29 ` [Qemu-devel] [RFC 6/7] target/hppa: Use pattern groups to decode OR Richard Henderson
2019-02-23 23:29 ` [Qemu-devel] [RFC 7/7] target/riscv: Use pattern groups for RVC Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190223232954.7185-4-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=f4bug@amsat.org \
--cc=kbastian@mail.uni-paderborn.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).