Skip to contentSkip to conversation

decodetree: fix 16-bit insns

GIT PULL Applied Richard Henderson 2 participants 3 messages Mar 26, 2018 – Mar 27, 2018

lore
Share & tools
lore
#0 lore raw

It's a bug, so logically 2.12 material.
But no sense requiring risc-v to hold an extra local patch.

r~

The following changes since commit 2ffd221d07a671f72354a063d3080f244ec80b20:

Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging (2018-03-26 11:02:50 +0100)

are available in the Git repository at:

git://github.com/rth7680/qemu.git tags/pull-dt-20180326

for you to fetch changes up to 83d7c40c92cdfb1cd2d5d31f4539b22dc17fbcce:

scripts/decodetree: Fix insnmask not marked as global in main() (2018-03-26 22:34:07 +0800)

----------------------------------------------------------------
Fix a decodetree problem with 16-bit insns

----------------------------------------------------------------
Bastian Koppelmann (1):
scripts/decodetree: Fix insnmask not marked as global in main()

 scripts/decodetree.py | 1 +
 1 file changed, 1 insertion(+)
#1 lore raw

[Qemu-devel] [PULL 1/1] scripts/decodetree: Fix insnmask not marked as global in main()

From: Bastian Koppelmann <[email protected]>

if '-w 16' was given as a cmdline args a local copy of insnmask is set and not the global one.

Message-Id: <[email protected]>

---
 scripts/decodetree.py | 1 +
 1 file changed, 1 insertion(+)
scripts/decodetree.py +1 -0
index 41301c84aa..277f9a9bba 100755
@@ -972,6 +972,7 @@ def main():
     global input_file
     global insnwidth
     global insntype
+    global insnmask
 
     decode_function = 'decode'
     decode_scope = 'static '
Signature · 1 line
2.14.3
#2 lore raw
In reply to Richard Henderson
Quoted 15 lines · Richard Henderson

It's a bug, so logically 2.12 material.
But no sense requiring risc-v to hold an extra local patch.

r~

The following changes since commit 2ffd221d07a671f72354a063d3080f244ec80b20:

Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging (2018-03-26 11:02:50 +0100)

are available in the Git repository at:

git://github.com/rth7680/qemu.git tags/pull-dt-20180326

Quoted 8 lines

for you to fetch changes up to 83d7c40c92cdfb1cd2d5d31f4539b22dc17fbcce:

scripts/decodetree: Fix insnmask not marked as global in main() (2018-03-26 22:34:07 +0800)

----------------------------------------------------------------
Fix a decodetree problem with 16-bit insns

----------------------------------------------------------------

Applied, thanks.

-- PMM