]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/sparc: Relax decode of rs2_or_imm for v7
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 5 Sep 2025 11:46:27 +0000 (13:46 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 26 Sep 2025 06:59:25 +0000 (09:59 +0300)
commit5d6c277b493ef2ad093cfeee5022eedf93d88f4c
treeafca6a6dac171ac19b17343cee95fe45ecafa144
parentb22876f27dc690bfa51a31677d4df2a399168845
target/sparc: Relax decode of rs2_or_imm for v7

For v7, bits [12:5] are ignored for !imm.
For v8, those same bits are reserved, but are not trapped.

Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit df663ac0a4e5d916b6b3e77552a925fec02bced4)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/sparc/translate.c