]> 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 08:16:03 +0000 (11:16 +0300)
commit9f8bb7edacd4f5833740fe6d81509d5396f8b7cc
tree93735d05f3c3f1a07fe72cc026d7d9bd6baf0f29
parent1cc062970e49e8387ae14b120bc94b1009b634c1
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