]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/avr: Improve decode of LDS, STS
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 23 Mar 2025 17:16:23 +0000 (10:16 -0700)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 24 Apr 2025 07:30:44 +0000 (10:30 +0300)
commit927d89739393257f6eaf02183a3672c6fc351932
treefd05cd4f7e8830b9028a5211cca22dac3cf1d142
parentb401e48860d7aaf226b4db0d19531db1452b3880
target/avr: Improve decode of LDS, STS

The comment about not being able to define a field with
zero bits is out of date since 94597b6146f3
("decodetree: Allow !function with no input bits").

This fixes the missing load of imm in the disassembler.

Cc: qemu-stable@nongnu.org
Fixes: 9d8caa67a24 ("target/avr: Add support for disassembling via option '-d in_asm'")
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit 6b661b7ed7cd02c54a78426d5eb7dd8543b030ed)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/avr/insn.decode
target/avr/translate.c