[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 08/12] decodetree: Add --static-decode option
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PULL 08/12] decodetree: Add --static-decode option |
Date: |
Tue, 12 Mar 2019 10:03:30 -0700 |
Like --decode, but do not drop 'static' qualifier.
Signed-off-by: Richard Henderson <address@hidden>
---
scripts/decodetree.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/decodetree.py b/scripts/decodetree.py
index 2711c6ca9e..6067e940ab 100755
--- a/scripts/decodetree.py
+++ b/scripts/decodetree.py
@@ -979,7 +979,8 @@ def main():
decode_scope = 'static '
- long_opts = ['decode=', 'translate=', 'output=', 'insnwidth=']
+ long_opts = ['decode=', 'translate=', 'output=', 'insnwidth=',
+ 'static-decode=']
try:
(opts, args) = getopt.getopt(sys.argv[1:], 'o:w:', long_opts)
except getopt.GetoptError as err:
@@ -990,6 +991,8 @@ def main():
elif o == '--decode':
decode_function = a
decode_scope = ''
+ elif o == '--static-decode':
+ decode_function = a
elif o == '--translate':
translate_prefix = a
translate_scope = ''
--
2.17.2
- [Qemu-devel] [PULL 00/12] decodetree patches, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 11/12] decodetree: Prefix extract function names with decode_function, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 10/12] decodetree: Allow +- to begin a number initializing a field, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 12/12] decodetree: Properly diagnose fields overflowing an insn, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 07/12] test/decode: Add tests for PatternGroups, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 09/12] decodetree: Produce clean output for an empty input file, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 08/12] decodetree: Add --static-decode option,
Richard Henderson <=
- [Qemu-devel] [PULL 04/12] decodetree: Ensure build_tree does not include values outside insnmask, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 05/12] decodetree: Do not unconditionaly return from Pattern.output_code, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 06/12] decodetree: Allow grouping of overlapping patterns, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 03/12] decodetree: Document the usefulness of argument sets, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 01/12] MAINTAINERS: Add scripts/decodetree.py to the TCG section, Richard Henderson, 2019/03/12
- [Qemu-devel] [PULL 02/12] decodetree: Move documentation to docs/devel/decodetree.rst, Richard Henderson, 2019/03/12
- Re: [Qemu-devel] [PULL 00/12] decodetree patches, Peter Maydell, 2019/03/13