[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/5] decodetree: Ensure build_tree does not include
From: |
Richard Henderson |
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 |
From: Philippe Mathieu-Daudé <address@hidden>
Reproduced with "scripts/decodetree.py /dev/null".
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
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
- [Qemu-devel] [PATCH 0/5] decodetree enhancements, Richard Henderson, 2019/02/23
- [Qemu-devel] [PATCH 1/5] MAINTAINERS: Add scripts/decodetree.py to the TCG section, Richard Henderson, 2019/02/23
- [Qemu-devel] [RFC 6/7] target/hppa: Use pattern groups to decode OR, Richard Henderson, 2019/02/23
- [Qemu-devel] [PATCH 4/5] decodetree: Do not unconditionaly return from Pattern.output_code, Richard Henderson, 2019/02/23
- [Qemu-devel] [PATCH 3/5] decodetree: Ensure build_tree does not include values outside insnmask,
Richard Henderson <=
- [Qemu-devel] [PATCH 2/5] decodetree: Move documentation to docs/decodetree.rst, Richard Henderson, 2019/02/23
- [Qemu-devel] [RFC 7/7] target/riscv: Use pattern groups for RVC, Richard Henderson, 2019/02/23
- [Qemu-devel] [PATCH 5/5] decodetree: Allow grouping of overlapping patterns, Richard Henderson, 2019/02/23